Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: "print" of nonexistent element is actually altering a hash

by haukex (Archbishop)
on Feb 18, 2020 at 12:27 UTC ( #11113095=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print 'yes'
        if exists $hash{www}
        && exists $hash{www}{xxx}
        && exists $hash{www}{xxx}{yyy}
        && exists $hash{www}{xxx}{yyy}{zzz};
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2022-12-07 20:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?