- or download this
## This is what I think is needed beforehand :
open( TIDY, "html-tidy $commandline|") or die "Couldn't spawn html-tid
+y : $!\n";
...
} else {
printf STDERR "tidy detected no errors\n";
}
- or download this
my @output = qx(html-tidy $commandline);
my $exitcode = $? >> 8;
...
} else {
die "tidy exited with code: $exitcode\n";
}
- or download this
perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The
$d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider
($c = $d->accept())->get_request(); $c->send_response( new #in the
HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web