in reply to reading files
Easiest:
my @file = <$file>;
Another option:
my @file; while (<$file>) { push(@file, $_); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: reading files
by Anonymous Monk on Dec 13, 2002 at 15:18 UTC | |
by Mr. Muskrat (Canon) on Dec 13, 2002 at 15:31 UTC | |
by Ionizor (Pilgrim) on Dec 13, 2002 at 15:27 UTC |