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

RE: undefs and functions

by reptile (Monk)
on Aug 02, 2000 at 03:42 UTC ( [id://25635]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %foo = ( 'bar' => {'baz' => 1} );
    print $foo{'baz'}->{'bar'} || 'oops';
    
  2. or download this
    my %foo = ( 'bar' => undef );
    print $foo{'bar'}->{'baz'} || "oops";
    
  3. or download this
    local $_ = "0A72656B636148206C72655020726568746F6E41207473754A";
    while(s/..$//) { print chr(hex($&)) }
    

Log In?
Username:
Password:

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

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

    No recent polls found