CGI-ExtDirect
view release on metacpan or search on metacpan
t/cgi-bin/router2 view on Meta::CPAN
#!/bin/sh
$PERL -x 3<&0 <<'END_OF_SCRIPT'
#!perl
use CGI::ExtDirect;
use RPC::ExtDirect::Test::Pkg::Foo;
use RPC::ExtDirect::Test::Pkg::JuiceBar;
use RPC::ExtDirect::Test::Pkg::Qux;
# 2 argument open() is here for older Perls
open STDIN, '<&3' or die "Can't reopen STDIN";
# Set the cheat flag for file uploads
local $RPC::ExtDirect::Test::Pkg::JuiceBar::CHEAT = 1;
my $debug = 1;
my %headers = ();
my $cgi = CGI::ExtDirect->new({ debug => 1 });
print $cgi->route(%headers);
exit 0;
END_OF_SCRIPT
( run in 0.681 second using v1.01-cache-2.11-cpan-b16cb0d3907 )