Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by grantm (Parson)
on Jul 18, 2008 at 03:19 UTC ( #698498=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      @part = map defined $_->[0] ? @{$_}[(@$_>1?1:0)..$#{$_}] : (), 
        [1 => 'http://example.net/app', 'extra'],
        [$is_admin_link => 'admin'],
        [$subsite], [1 => $mode], [$id], [$submode];