Re: [Speedycgi-users] CGI::LogCarp and FindBin
Brought to you by:
samh
|
From: Sam H. <sa...@da...> - 2002-07-22 02:48:27
|
I can use both modules in a test script. I tried this script:
#!/usr/bin/speedy
use FindBin qw($Bin);
use CGI::LogCarp;
print "bin=$Bin\n";
carp "testing carp";
The output from the script was:
[Sun Jul 21 21:40:37 2002] 2036 t.pl ERR: testing carp at ./t.pl line 5
bin=/share/src
I'm using the following software:
SpeedyCGI speedy version 2.20pre2 built for perl version 5.006_00 on i386-linux
LogCarp-1.12
I also tried SpeedyCGI 2.11 and it worked there too.
Sam
> Hi,
>
> I was looking at the SpeedyCGI package - it seems like an excellent solution
> to speeding up perl CGI applications.
>
> I immediately ran into the following :
>
> Could not create STDBUG stream: Invalid argument at
> /usr/lib/perl5/site_perl/5.6.0/CGI/LogCarp.pm line 1463.
>
> FindBin.pm: Cannot find current script '' at /usr/lib/perl5/5.6.0/FindBin.pm
> line 166
>
> Can I use CGI::LogCarp and FindBin modules with CGI::Speedy ?
>
> Thanks,
> Mark
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Speedycgi-users mailing list
> Spe...@li...
> https://lists.sourceforge.net/lists/listinfo/speedycgi-users
|