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

Re: Inconsistency of 'Use of uninitialized value in scalar assignment' warning

by Athanasius (Archbishop)
on Dec 26, 2013 at 08:43 UTC ( [id://1068401]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! perl
    use strict;
    ...
    my $baz;
    
    foo( $bar{$baz} );
    
  2. or download this
    18:39 >perl 814_SoPW.pl
    Use of uninitialized value $baz in hash element at 814_SoPW.pl line 28
    +.
    [undef]
    
    18:39 >
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-19 17:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found