in reply to Re: Random entry from combined data setin thread Random entry from combined data set
push @array,$_ while <FH>;
'push' takes a list as its second parameter, so:
push @array, <FH>;
for each file works fine.