Why not just use Tie::File module ? http://search.cpan.org/author/JHI/perl-5.8.0/lib/Tie/File.pm#SYNOPSIS
José. > -----Original Message----- > From: Hello Buddy [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 09, 2002 11:29 AM > To: [EMAIL PROTECTED] > Subject: I need help for handling text log file > > > Hi Perl experts, > I need your help. I am absolute Perl beginner. > I am writing perl with Windows 95 machine. I download > Perl from activestate and my version 5.6.1. It works > properly and I can run some program. > Currently I am writing log file processing with > perl. I can write normal program as read the log file > and write to formatted log file. What I am facing now > is when I write to format text file, suppose I was > currently in line 10 for my formatted text file and I > want to append some word in line 5 of formatted text > file. I want to know how to do it. Which function > should I use. I use seek() function to write but it > add additional machine words. > Thanks in advance for your help. > > Best regards, > Winn Thu > Myanmar > > __________________________________________________ > Do you Yahoo!? > Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] **** DISCLAIMER **** "This e-mail and any attachment thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the sole use of the recipient(s) named above. Any use of the information contained herein (including, but not limited to, total or partial reproduction, communication or distribution in any form) by other persons than the designated recipient(s) is prohibited. If you have received this e-mail in error, please notify the sender either by telephone or by e-mail and delete the material from any computer". Thank you for your cooperation. For further information about Proximus mobile phone services please see our website at http://www.proximus.be or refer to any Proximus agent. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]