Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Autovivification with hash of hashes

by Cabrion (Friar)
on Jan 26, 2003 at 01:38 UTC ( [id://229916]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    if(exists($foo{bar}) and exists($foo{bar}{baz})) {
      print "\$foo{bar}{baz} exists\n";
    }
    
  2. or download this
    my @levels = qw/bar baz/; 
    foreach(@levels) {
    ...
    if (eval $code) {
     #do whatever
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-26 05:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found