Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Pointers and References

by Leudwinus (Scribe)
on Nov 23, 2020 at 01:55 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-04-24 05:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found