|o||Do not use here documents or generalized quotes (qq) within assertion expression or tags. Write assertions using or "", as appropriate.|
|o||Assertions can be safely put on several lines, but must end with a semi-colon, outside any string.|
The interface of the datum_strip() routine is:
datum_strip old_file, new_file, [ext] The old_file specifies the old file path, the one to be stripped. The stripped version will be written to new_file.
If the optional third argument ext is given (e.g. .bak), then old_file will be renamed with the supplied extension, and new_file will be renamed old_file. Renaming only occurs if stripping was successful (i.e. the new file was correctly written to disk).
The lowest nine rwx mode bits from old_file are preserved when creating new_file.
Both old_file and new_file can be set to -, in which case STDIN and STDOUT are used, respectively, and no renaming can occur, nor any mode bit propagation.
Returns true on success, undef on error.
Christophe Dehaudt and Raphael Manfredi are the original authors.
Send bug reports, hints, tips, suggestions to Dave Hoover at <email@example.com>.
|perl v5.20.3||DATUM::STRIP (3)||2002-01-16|