Hello,
Please make your subject more secriptive of the issue:
"get list of files and process each one"
woudl have been much better (saves time for the list and makes for more effective searchin and browsing later)
"HELP...what am I doing wrong?" seems to require the answer: "not doing any coding or reading of docs ;p"
I can't figure out the logic for this. Can you help?
open file with list
foreach file in the list:
open it
if matches criteria do search and replace inline (instead of the odd tmp file/rename thing..)
perldoc -f open
will help for starters :)
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>