Pablo Fischer wrote: > Hi! > > Reading all these message about reading a 'big' file (I know that > 180MB its not a big file), but what's the difference from reading > like this: > > @file = <FILE>; > foreach (@file) { > print $_; > } Attemping to read in the whole file into memory while with the while you are usually reading one record at time, process and then get the next rcd, so you don't have the whole file in memory but 1 rcd at a time depending on how you define end of record.
Wags ;) > > and with a While? > > Thanks!! > -- > Pablo Fischer Sandoval ([EMAIL PROTECTED]) > http://www.pablo.com.mx > http://www.debianmexico.org > GPG FingerTip: 3D49 4CB8 8951 F2CA 8131 AF7C D1B9 1FB9 6B11 810C > Firma URL: http://www.pablo.com.mx/firmagpg.txt ********************************************************** This message contains information that is confidential and proprietary to FedEx Freight or its affiliates. It is intended only for the recipient named and for the express purpose(s) described therein. Any other use is prohibited. **************************************************************** -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]