- or download this
#!/usr/bin/perl
...
chomp @words;
my $length = 5 + 20*rand();
{ use integer; $length += 0; }
- or download this
for my $line (0..$length) { #prints length + 1 lines.
- or download this
$line and print ".-$line.\n";
- or download this
my $width = int( 9*rand() );
{ use integer; $width++; }
- or download this
for my $word ( 0..$width ) {
- or download this
my $where = $#words * rand();
- or download this
{ use integer; $where += 0; }
my $choose = $words[$where];
...
$choose =~ /^(.)(.*)$/;
$choose = uc($1) . $2;
}
- or download this
$word and $choose = " $choose";
print $choose;
...
11-point
12-point
etc. for rest of English words