No such thing as a small change | |
PerlMonks |
Re: Is it possible to write to STDIN ? (fake CGI POST STDIN)by Anonymous Monk |
on Jul 21, 2014 at 07:10 UTC ( [id://1094426]=note: print w/replies, xml ) | Need Help?? |
Compile your cgi into a subroutine with CGI::Compile, wrap it with CGI::Emulate::PSGI, then install LWP::Protocol::PSGI, so you can talk to your cgi with WWW::Mechanize Or maybe just use Test::WWW::Mechanize::CGI, it uses HTTP::Request::AsCGI
In Section
Seekers of Perl Wisdom
|
|