in reply to Re^2: searching for multiple lines from outfile and printing them all in the final outfile
in thread searching for multiple lines from outfile and printing them all in the final outfile

Assumes @output is populated from your source; prints to console:

for (0..9) { print $output[rand($#output)] . "\n"; }
  • Comment on Re^3: searching for multiple lines from outfile and printing them all in the final outfile
  • Select or Download Code