Next Lightweight Databases 56

Tie::File Examples

How do I append to the beginning of a file?

     tie @LOG, 'Tie::File', 'DrainC.log' or die ...;
     unshift @LOG, $new_record1, $new_record2, @more_new_records;


Next Copyright © 2003 M. J. Dominus