in reply to Re: Random entry from combined data set
in thread Random entry from combined data set

Actually, you don't need to:

      push @array,$_ while <FH>;

'push' takes a list as its second parameter, so:

      push @array, <FH>;

for each file works fine.

  • Comment on Re: Re: Random entry from combined data set