my @data; $/ = ''; while (<>){ push @data, $_; }
Or more succintly:
$/ = ''; my @data = <>;
In reply to Re: Inserting values into an array
by thundergnat
in thread Inserting values into an array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |