Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Easy hash question (uninitialized value)

by Lotus1 (Vicar)
on May 16, 2018 at 13:54 UTC ( #1214657=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if( exists $j{$number} ) {
        say $j{$number};
    ...
        say "<$number> is not a key in \%j"
    }
    
  2. or download this
    C:\usr\pm\hash>perl 1214633.pl
    4
    ...
    
    <4
    > is not a key in %j
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2020-07-07 19:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?