Help for this page

Select Code to Download


  1. or download this
        $am = $1 if $_[0] =~ /$mask/;
        $bm = $1 if $_[1] =~ /$mask/;
    
  2. or download this
        ($am, $bm) = map {/$mask/ ? $1 : 0} @_;
    
  3. or download this
    @result = map {substr $_, 2}
              sort
              map {sprint "%02d%s", (/$mask/ ? $1 : 0), $_} @f;