Re: Problems with Apache 2.0, mod_perl2 and perl
- From: "Eric R. Meyers" <ermeyers@xxxxxxxxxxxx>
- Date: Wed, 31 May 2006 16:28:12 -0400
John Bokma wrote:
print "Content-type: text/plain\n\n";
unless ( open my $fh, "/path/to/CGI.pm" ) {
print "Can't open CGI.pm for reading: $!\n";
exit;
}
print "Could open CGI.pm for reading\n";
# cat ./helloworld.cgi
#!/usr/bin/perl_static -wT
##
#require CGI::Lite;
print "Content-type: text/html\n\n";
#print "Hello, World.";
unless ( open my $fh, "/usr/lib/perl5/5.8.8/CGI.pm" ) {
print "Can't open CGI.pm for reading: $!\n";
exit;
}
print "Could open CGI.pm for reading\n";
# ./helloworld.cgi
Content-type: text/html
Could open CGI.pm for reading
http://localhost/cgi-bin/helloworld.cgi
Can't open CGI.pm for reading: 13
.
- Follow-Ups:
- Re: Problems with Apache 2.0, mod_perl2 and perl
- From: John Bokma
- Re: Problems with Apache 2.0, mod_perl2 and perl
- References:
- Problems with Apache 2.0, mod_perl2 and perl
- From: Eric R. Meyers
- Re: Problems with Apache 2.0, mod_perl2 and perl
- From: John Bokma
- Problems with Apache 2.0, mod_perl2 and perl
- Prev by Date: Re: Problems with Apache 2.0, mod_perl2 and perl
- Next by Date: Re: Problems with Apache 2.0, mod_perl2 and perl
- Previous by thread: Re: Problems with Apache 2.0, mod_perl2 and perl
- Next by thread: Re: Problems with Apache 2.0, mod_perl2 and perl
- Index(es):
Relevant Pages
|