open FILE, '/path/to/file' or die "Can't open file: $!\n"; my @array = <FILE>;
All very simple :)
In reply to Re: how can we read each line from a file onto an array?
by davorg
in thread How can we read each line from a file onto an array?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |