here's what you're probably trying to do:
open(INPUT, "filename.txt"); while(<INPUT>) { # whatever's in here will be executed for every line - i'm assumin +g that's what "one by one" means } close(INPUT);
In reply to Re: Help reading text file
by batkins
in thread Help reading text file (was: Help Please!!)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |