in reply to
Reading multiple files into array
When you say '@list = ...' the old value will be discarded and the new value will replace it. To get what you want, try push:
push @list, <fh>;
[download]
Phil
The
Gantry Web Framework Book
is now available.
Comment on
Re: Reading multiple files into array
Download
Code
Replies are listed 'Best First'.
Re^2: Reading multiple files into array
by
perlNinny
(Beadle)
on May 10, 2007 at 18:02 UTC
Quote the Homer: D'OH That did it.
[reply]
In Section
Seekers of Perl Wisdom