Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Pointers and References

by tybalt89 (Prior)
on Nov 23, 2020 at 02:33 UTC ( #11124043=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    
    say "the sum of 9 and $b is ", &sum_and_diff(9, $b, \$diff);
    say "and the difference is ", $diff;  # this is line 34
    
  2. or download this
    The address of $varible, which contains the value 22,
    is SCALAR(0x55d283691438)
    ...
    and the difference is 3
    the sum of 9 and 2 is 11
    and the difference is 7
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11124043]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2021-06-18 19:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (90 votes). Check out past polls.

    Notices?