********** Feb 25, 2003 vertical.cgi PERL code ********** #!/usr/bin/perl use CGI qw(:standard); print header, start_html('Vertical Printing - Feb 26, 2003 class'), h1('Vertical Printing Demo'), start_form, "What's your phrase or word to go vertical? ", textfield('theWord'), p, submit, end_form, hr, 'See PERL code', hr, 'See version 2 of vertical CGI', hr; if (param()) { $spaces = " "; @letters = split(//, param('theWord')); print "\n
\n"; foreach (@letters) { print "$spaces $_\n"; } print "\n\n\n