Help for this page

Select Code to Download


  1. or download this
    my $x;
    @out_list = map { ($x = $_) =~ s/foo(.*?)bar/$1 baz/; $x } @in_list;
    
  2. or download this
    my @subst = map { s/\s+/_/g } @list;