Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: Secret Perl Operators: the boolean list squash operator, x!!

by ikegami (Pope)
on Aug 01, 2006 at 20:50 UTC ( #565080=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Secret Perl Operators: the boolean list squash operator, x!!
in thread Secret Perl Operators: the boolean list squash operator, x!!

To be equivalent to the parent code, and to retain the genericity of ( ... ) x!! ...,
return("");
should be
return;
or
return wantarray ? () : "";

This doesn't affect your argument.


Comment on Re^4: Secret Perl Operators: the boolean list squash operator, x!!
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (13)
As of 2014-08-21 21:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (143 votes), past polls