Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Pointers and References

by Leudwinus (Beadle)
on Nov 23, 2020 at 01:55 UTC ( #11124042=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    
    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(0x801e64540)
    ...
    the sum of 9 and 2 is 11
    Use of uninitialized value $diff in say at line 34.
    and the difference is
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://11124042]
Approved by GrandFather
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2021-06-15 10:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (69 votes). Check out past polls.

    Notices?