Help for this page

Select Code to Download


  1. or download this
    $h->{foo}{bar} =~ s/[._]/ /g;
    Some::Custom::Function($h->{foo}{bar});
    $h->{foo}{bar} =~ s/^\s+//;
    $h->{foo}{bar} =~ s/\s+$//;
    $h->{foo}{bar} =~ s/`/'/g;
    
  2. or download this
    for ($h->{foo}{bar}) {
        s/[._]/ /g;
    ...
        s/\s+$//;
        s/`/'/g;
    };
    
  3. or download this
    map { $_ = foo( $bar, $_ ) } values %somehash;