in reply to Inplace edit using XML::Twig
Why not just read in the file contents, truncate the file, and write processed file contents back out to the same file? No delete and rename needed.
-Mark
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Inplace edit using XML::Twig
by gellyfish (Monsignor) on May 22, 2006 at 08:34 UTC | |
Re^2: Inplace edit using XML::Twig
by greenFox (Vicar) on May 22, 2006 at 08:07 UTC |
In Section
Seekers of Perl Wisdom