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
In reply to Re^3: getfile( $filename )
by QM
in thread getfile( $filename )
by harleypig
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |