You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/perl
|
|
$num=5;
|
|
$p = \$num; # $p gets the address of $num
|
|
print 'The address assigned $p is ', $p, "\n";
|
|
print "The value stored at that address is $$p\n"; # dereference
|