Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

by ikegami (Pope)
on Jan 08, 2014 at 15:17 UTC ( #1069819=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -MO=Concise,-exec -e'print if $a'
    1  <0> enter
    ...
    7      <@> print vK
    8  <@> leave[1 ref] vKP/REFC
    -e syntax OK
    
  2. or download this
    $ perl -MO=Concise,-exec -e'if ($a) { print }'
    1  <0> enter
    ...
    7      <@> print vK
    8  <@> leave[1 ref] vKP/REFC
    -e syntax OK
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (15)
As of 2014-07-28 20:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (207 votes), past polls