read the file. Rewrite ur data into the file followed by original data. easy way..
Mandar ---- Original message ---- >Date: Thu, 28 Oct 2004 18:11:54 -0700 >From: "Rajesh Dorairajan" <[EMAIL PROTECTED]> >Subject: Append on top >To: "Perl-Beginners ([EMAIL PROTECTED])" <[EMAIL PROTECTED]> >Cc: "Rajesh Dorairajan" <[EMAIL PROTECTED]> > >Does anyone know of a way to open a file in append mode and append on top of >the file? > >Thanks in Advance, > >--Rajesh ------------------- Mandar Rahurkar ECE, UIUC ------------------- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>