Question is not clear.
With the assumption, i suggest push().
my @data; $/=""; while(<>) { $data=$_; push (@data, $data); print "@data\n"; }
Prasad
In reply to Re: Inserting values into an array
by prasadbabu
in thread Inserting values into an array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |