I think you want
or simplymy @data; $/=""; while(<>) { push @data, $_; }
my @data = <>;
Update: Edited in response to Joost's and Limbic~Region's comment. Once again I am humbled by how much Perl I still have to learn!
the lowliest monk
In reply to Re: Inserting values into an array
by tlm
in thread Inserting values into an array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |