#! /usr/bin/perl
use CGI ;
my $env ;
for (sort keys %ENV) {
$env .= "$_ = $ENV{$_} " ;
}
my $result=<
$env
This span was appended to the APPEND divThis span was prepended to the PREPEND div
This paragraph element was inserted after the AFTER div
Note that we can have multiple elements here.
Any XHTML can be used!
Radios follow:
This span was inserted before the BEFORE div
This is new content that includes a table.
Header 1
Header 2
row 1 col 1
row 1 col 2
row 2 col 1
row 2 col 2
This is new content that replaced the old content.
Checkboxes follow:
The
new
row
\$('#evalTarget').html("This text came from an eval command");
EOD
my $q = new CGI ;
print $q->header(-type=>'text/xml');
print $result ;