Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Useless unless

by Anonymous Monk
on Aug 09, 2005 at 09:17 UTC ( [id://482148]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        EXPR1 if $x;
        EXPR2 unless $x;
    
  2. or download this
       ((sub {EXPR1}, sub {EXPR2})[!!$x || 0])->();
    
  3. or download this
        foo($arg, @args) if $x;
        bar($arg, @args) unless $x;
    
  4. or download this
        ((\&foo, \&bar)[!!$x || 0])->($arg, @args)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (9)
As of 2024-04-19 08:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found