in reply to Re^2: getfile( $filename )
in thread getfile( $filename )
Also, if the file is too big to be read entirely into memory then reading the entire file in one shot isn't a good idea.Then when you file off the serial numbers, you can add an optional parameter for chunk size, and convert the function to an iterator. Make a module version and put it on CPAN for everyone else (unless there's already one there?)
-QM
--
Quantum Mechanics: The dreams stuff is made of
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: getfile( $filename )
by harleypig (Monk) on Aug 06, 2005 at 16:04 UTC | |
by QM (Parson) on Aug 07, 2005 at 16:12 UTC |