On 2002.08.10, at 08:54, David Wheeler wrote:
> On Saturday, August 10, 2002, at 12:43 AM, Shannon Murdoch wrote:
>
>> while(<FILE>){
>> push (@array,$_);
>> }
>
> This doesn't answer your question, but just as a space saver (perhaps
> even optimization, I'm not sure), you might want to try this syntax:
>
> my @array = <FILE>;
Q: What happens if <FILE> is a LARGE file? @array = <FILE> may then
cause problems...the first way ensures that the file is read in
pieces....
Anyone have comments?
