Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Tux's scratchpad

by Tux (Canon)
on Jan 25, 2007 at 13:19 UTC ( [id://596469] : scratchpad . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @array = map {
        some_sub (s/^[\*\+-] (.+)/$1/r, $opt);
        } @another_array;
    
  2. or download this
    sub fancy_map {
      my ($opt, $list) = @_;
    ...
          }
        } @{$list};
      }