in reply to Re: how do i parse multiple files and write all of the results into single file
in thread how do i parse multiple files and write all of the results into single file

Transient did a great job giving a generally safe and applicable answer, though a bit wordy for my tastes. Pass the filename wildcard on the command line, and redirect STDOUT:
#@ARGV = glob( @ARGV ); # needed for DOS while (<>) { s/match this/replace it with this/; print; }

-QM
--
Quantum Mechanics: The dreams stuff is made of

  • Comment on Re^2: how do i parse multiple files and write all of the results into single file
  • Download Code