#!/usr/bin/perl use strict; use warnings; my @words = ; chomp @words; my $length = 5 + 20*rand(); { use integer; $length += 0; } for my $line (0..$length) { $line and print ".\n"; my $width = 9*rand(); { use integer; $width++; } for my $word ( 0..$width ) { my $where = $#words * rand(); { use integer; $where += 0; } my $choose = $words[$where]; unless ($word) { $choose =~ /^(.)(.*)$/; $choose = uc($1) . $2; } $word and $choose = " $choose"; print $choose; } } print ".\n"; __DATA__ 2 1080 &c 10-point 10th 11-point 12-point etc. for rest of English words