Assumes @output is populated from your source; prints to console:
for (0..9) { print $output[rand($#output)] . "\n"; }
In reply to Re^3: searching for multiple lines from outfile and printing them all in the final outfile
by ww
in thread searching for multiple lines from outfile and printing them all in the final outfile
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |