Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: return value of "if" (documentation?)

by LanX (Saint)
on Jan 07, 2014 at 23:33 UTC ( [id://1069712]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    lanx@nc10-ubuntu:~$ perl -MO=Deparse -e  ' print if $a '
    print $_ if $a;
    ...
    lanx@nc10-ubuntu:~$ perl -MO=Deparse,-p -e  ' print if $a '
    ($a and print($_));
    -e syntax OK
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-25 18:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found