#@ARGV = glob( @ARGV ); # needed for DOS while (<>) { s/match this/replace it with this/; print; }