Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by xdg (Monsignor)
on Jul 31, 2006 at 18:18 UTC ( #564833=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     ( 'admin'  ) x !!$is_admin_link,
    
  2. or download this
    use strict;
    use warnings;
    ...
    
    @bar = ( 'bar', (@foo) x !!$cond, 'baz' );
    print join(q{,},@bar), "\n";
    
  3. or download this
    bar,,baz
    bar,baz
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2014-07-31 03:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (244 votes), past polls