4 use List
::Util
qw(shuffle);
6 my $string = " :) " unless $ARGV[0];
7 $string = " (: " unless not $ARGV[0];
9 my @prehash = shuffle
(1..1000);
13 $dontprint{$prehash[$_]} = 1;
17 unless (exists $dontprint{$_}) {print $string};
18 unless (not exists $dontprint{$_}) {print " "};