Sprog::Gear::ReplaceFile.3pm

Langue: en

Version: 2005-07-24 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

Sprog::Gear::ReplaceFile - Overwrite the original file with new data

DESCRIPTION

This is a data output gear. It is used to replace the contents of the input file with the output of the machine.

Since we can't really overwrite the same file we're reading from, output is actually written to a temporary file. The files are renamed in the "file_end" event.

Copyright 2005 Grant McLean <grantm@cpan.org>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.