Guest User

Untitled

a guest
Jul 23rd, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. #!/usr/bin/perl
  2.  
  3. use warnings;
  4.  
  5. open FH, $ARGV[0] or die;
  6. @lines = <FH>;
  7. print @lines[int(rand(scalar @lines))] . "\n";
  8. close FH;
Add Comment
Please, Sign In to add comment