Add U+263A / U+263B file.
[prueba3.git] / script1_random.pl
blobaccf6b39e183d9ef9952a8338c471f79f529a2c6
1 #!/usr/bin/env perl
3 use strict;
4 use List::Util qw(shuffle);
6 my $string = " :) " unless $ARGV[0];
7 $string = " (: " unless not $ARGV[0];
9 my @prehash = shuffle(1..1000);
10 my %dontprint;
12 foreach (1..100) {
13 $dontprint{$prehash[$_]} = 1;
16 foreach (1..1000) {
17 unless (exists $dontprint{$_}) {print $string};
18 unless (not exists $dontprint{$_}) {print " "};
21 print;