There are some ways to do this, but they don't apply to all instances. Really, you're usually better off just writing your changes to a temp file and then replacing your original file. Most methods that seem to accomplish what you are asking for really just do this in the background anyway.
-----Original Message----- From: Eliyah Kilada [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 05, 2005 10:42 PM To: beginners@perl.org Subject: modifying a file [Tim Johnson] <snip> modify FIN?! i.e., I need to make modifications in the same file I read from. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>