- or download this
#!/usr/bin/perl -T
use MyModule;
MyModule->new->go;
- or download this
package MyModule;
use CGI qw();
...
}
1;
- or download this
#!/usr/bin/perl -T
use Test::More tests => 8;
...
is $r->content, $post_data;
kill 'KILL', $pid;
- or download this
package TestServer;
use HTTP::Server::Simple::CGI qw();
...
}
1;
- or download this
diag $r->as_string;
# HTTP/0.9 200 Assumed OK
...
# Content-Type: text/html; charset=ISO-8859-1
#
# some post data