Rajesh Dorairajan wrote:
Does anyone know of a way to open a file in append mode and append on top of
the file?


Thanks in Advance,

--Rajesh


I don't know why people are having a problem with this sollution, simply open in append mode so open doesn't clobber the file, then use seek() to move to the beginning of the file. Done :)


--K-sPecial

[ http://xzziroz.freeshell.org
  irc://xzziroz.dtdns.net       ]





--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to