As far as I know the above snippet will read a single line at a time during processing.foreach my $line (<$INFILE>) { ## do stuff }
I'm guess I'm just checking to make sure it doesn't try reading the whole file into a temporary array and then feed the array elements to the foreach.
Is that correct? Claude
In reply to Foreach & file io by Xxaxx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |