Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 avoiding work at the Monastery: (6)
As of 2014-08-30 19:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls