On Saturday, May 31, 2003 1:24 PM $Bill Luebkert <[EMAIL PROTECTED]> wrote:
> Manjunath H N wrote: >> Hello All, >> >> The program prog.pl I have attached needs to read data from >> PurchaseRequestDataFile.txt & chomp the contents & append it with >> new Record count, But I am not able to chomp the contents, it is >> just appending the Record count to the end of the file. > > This should be closer: > > #!/usr/bin/perl > > use strict; > use Fcntl qw(:DEFAULT :flock); Thanks for the script but it is exiting with <html><body> The data base file format is not valid!! <BR>Report this error to <a href="mailto:[EMAIL PROTECTED]">Administrator</a> </body>html> EOD It is not appending the PurchaseRequestDataFile.txt Any pointers pls TIA Manjunath DISCLAIMER: This e-mail and any attachment (s) is for authorised use by the intended recipient (s) only. It may contain proprietary material, confidential information and/or be subject to the legal privilege of iWave Systems Technologies Private Limited. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from retaining, using, copying, alerting or disclosing the content of this message. Thank you for your co-operation. _______________________________________________ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs