Help for this page

Select Code to Download


  1. or download this
    ...
    foreach(@_) {
    ...
            my $ext = ( $file =~ /\.([^.]+)$/ ) ? $1 : "DIR";
            print ...;
        } }
    
  2. or download this
     Also remember that "|" is interpreted as a literal within
     square brackets, so if you write "[fee|fie|foe]" you're
     really only matching "[feio|]".