Help for this page

Select Code to Download


  1. or download this
    my @array = map { s/regex/replacement/ } @input;
    
  2. or download this
    use List::MoreUtils qw(apply); 
    my @array = apply { s/regex/replacement/ } @input;