#! /usr/bin/perl -Tw use strict; use warnings; use CGI qw(-no_xhtml); use CGI::Carp qw(fatalsToBrowser warningsToBrowser); my $bar=CGI->new; print $bar->header('text/html'); print $bar->start_html(-title => 'newsite2', -dtd => [ '-//W3C//DTD HTML 4.01 Strict//EN', 'http://www.w3.org/TR/html4/strict.dtd' ], -lang => 'en-UK', -meta => {'keywords'=>'something about my site', 'author' => 'me silly'}, -xbase => 'http://www.mysite.com/', -style => {'-src' =>'scr/style.css'}, -script=> {'-src' =>'scr/jscript.js'}, ); print $bar->start_div();&n; #print $bar->param($bar(param('multitext'));&n; my @parnames = $bar->param; print @parnames; print "
"; my $amt = join("
\n", @mta); print $amt; print "
"; #print scalar(@mta).": ".@mta or die "Im not kidding! you should write comedy for a living: $!\n";&n; } &n;&n; sub n{print "\n";}&n;&n; exit(0); ####
mt:
peter piper picked a peck of pickled peppers123
a peck of pickled peppers peter piper picked123
if peter piper picked a peck of pickled peppers
where's the peck of pickled pepper peter piper picked?
####
3: multitext: peter piper picked a peck of pickled peppers123
a peck of pickled peppers peter piper picked123
if peter piper picked a peck of pickled peppers
where's the peck of pickled pepper peter piper picked?