Created
April 28, 2015 21:20
-
-
Save exodist/0afc0a13e4c51d55b500 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my $iapp = Plack::App::WrapCGI->new(script => "$path/$cgi")->to_app; | |
my $app = sub { | |
my $env = shift; | |
return [ | |
'404', | |
['Content-Type' => 'text/plain'], | |
["404 error\n"] | |
] unless -e $self->path . $env->{PATH_INFO}; | |
$iapp->($env); | |
}; | |
__END__ | |
<h1>Software error:</h1> | |
<pre>Can't use string ("1") as an ARRAY ref while "strict refs" in use at /opt/ndn-perl/2015.03.27.074651-b2372f5/lib/site_perl/5.20.2/Starman/Server.pm line 471. | |
</pre> | |
<p> | |
For help, please send mail to this site's webmaster, giving this error message | |
and the time and date of the error. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment