[Speedycgi-users] CGI::LogCarp fixed, use FindBin problem
Brought to you by:
samh
|
From: Mark H. <mar...@wa...> - 2002-10-01 17:45:44
|
Hi Sam,
The good news is the problems I reported some time back with
use CGI::LogCarp qw(:STDLOG :STDBUG :STDERR);
have been fixed with 2.20. Thanks.
There is still an outstanding issue, the following code :
#!/usr/local/bin/speedy
BEGIN {
$0 = $^X unless ($^X =~ m%(^|[/\\])(perl)|(perl.exe)$%i );
}
# Problem for speedy CGI
use FindBin;
Give the following error :
Cannot find current script '' at /usr/local/lib/perl5/5.6.1/FindBin.pm line
166
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.6.1/FindBin.pm
line 166.
Compilation failed in require at ./test_speedy.cgi line 7.
BEGIN failed--compilation aborted at ./test_speedy.cgi line 7.
speedy_backend[1363]: perl_parse error
speedy[1361]: Cannot spawn backend process
The BEGIN block is a recommended fix to allow the use of FindBin with
perl2exe. Perhaps you can see why this causes problems under speedyCGI ?
Thanks for your help,
Mark
|