Help for this page

Select Code to Download


  1. or download this
    my @values = map { s/dc=domain,dc=tld/dc=sub,dc=otherdomain,dc=tld/ir 
    +} @$array_ref;
    
  2. or download this
    perl -E '
    @ary =( "abc", "cbc", "dbd" ); say for map { s/b/FOO/r } @ary;
    ...
    aFOOc
    cFOOc
    dFOOd