http://qs321.pair.com?node_id=56598

electronicMacks has asked for the wisdom of the Perl Monks concerning the following question:

A “simple” question:

Is there any elegant way to preprend data to a file in *nix with Perl? I can easily come up with several hacks (copying the file, slurping the file etc...) but I really hope there’s a better way.

Humbly,
electronicMacks