Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Autovivification sucking the life out of me

by Skeeve (Parson)
on Oct 14, 2005 at 08:17 UTC ( [id://500162]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Data::Dumper;
    %foo=(BAZ=>1);
    print Dumper \%foo if $foo{BAR} || 1;
    print Dumper \%foo if @foo{BAR,BAZ} || 1;
    
  2. or download this
    use Data::Dumper;
    %foo=(BAZ=>1);
    print Dumper \%foo if call($foo{BAR});
    print Dumper \%foo if call(@foo{BAR,BAZ});
    sub call { return 1 }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-03-28 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found