I guess it is usually several mil that produces a problem. Here is a line of code that calculates the number of records in a file.
$recs = (-s "$outname.src") / $recl; I am just taking the bytes of $outname.src and dividing by the record length of the file and that returns the number of records. 95% of the time it works fine but on some large files, it will return a negative amount of records. -----Original Message----- From: Nigel Wetters [mailto:nigel.wetters@;rivalsdm.com] Sent: Thursday, October 24, 2002 10:44 AM To: Goodman Kristi - kgoodm Cc: '[EMAIL PROTECTED]' Subject: Re: Large numbers On Thu, 2002-10-24 at 16:22, Goodman Kristi - kgoodm wrote: > Does anyone know why Perl has a hard time with large numbers... > > ...lets say over a million... That's not really a large number, and Perl should have no difficulty with it. Could you provide an example of code that produces this problem? -- Nigel Wetters, Senior Programmer, Development Group Rivals Digital Media Ltd, 151 Freston Road, London W10 6TH Tel. 020 8962 1346 (direct line), Fax. 020 8962 1311 http://www.rivalsdm.com/ <[EMAIL PROTECTED]> ********************************************************************** The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please re-send this communication to the sender and delete the original message or any copy of it from your computer system. Thank You. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]