in reply to Re^6: substitute on file line by line not working syntax error
in thread Search and Replace line by line not working on Filehandle

I'm surprised it works - are you sure?
seek IN,0,0; just sets the position to beginning of file. See seek.

Replies are listed 'Best First'.
Re^8: substitute on file line by line not working syntax error
by matze77 (Friar) on Jan 16, 2010 at 16:02 UTC
    Yes. Honestly i must admit i found this on the web and just changed it to my needs, without understanding it completely, since it worked i didnt bother for the moment ...