Help for this page

Select Code to Download


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