On Monday 15 November 2004 1:43 pm, NYIMI Jose \(BMB\) wrote: > > However, if you do have these restrictions it can be done using the > > psudocode below > > > > calculate write_size > > seek EOF-buffer_size > > read buffer_size > > seek EOF-buffer_size+write_size > > repeat until at BOF Don't forget
Seek BOF write new data > > Why should I care with all these details when Tie::File is available > from CPAN. And now comes as standard dist of recent Perl version ? > > José. > Hi José. You man want to know this, because, as I said in my OP there may be reasons why you can't create a new file and have to do the update in place. Tie::File, like the other methods creates a new file and then copies that over the original. Gary -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>