Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^4: map BLOCK evaluation context

by Athanasius (Archbishop)
on Mar 08, 2013 at 15:43 UTC ( [id://1022449]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $home = $ENV{HOME}
            || $ENV{LOGDIR}
            || (getpwuid($<)[7]
            || die "You're homeless!\n";
    
  2. or download this
    @a = @b || @c;            # This doesn't do the right thing
    @a = scalar(@b) || @c;    # because it really means this.
    @a = @b ? @b : @c;        # This works fine though.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-03-28 23:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found