Re: MOD_PERL - Apache2 configuration issue

2006-09-12 Thread Tom Schindl
Sumit Shah schrieb: > Hello, > > I have created a very simple perl module (MyApache2::NewMod) using h2xs > and installed it inside /usr/lib/Perl5. > > Following is the source: > > #file MyApache2/NewMod > package MyApache2::NewMod; > > use strict; > use warnings; > > sub handler { > >

Re: MOD_PERL - Apache2 configuration issue

2006-09-12 Thread Michael Peters
Sumit Shah wrote: >#Open a file for writing >open(FH, "> test.txt") or die $!; >print FH "Hello World !!!\n"; print can fail. You should check that it's succeeding: print FH "Hello World !!!\n" or die $!; -- Michael Peters Developer Plus Three, LP

MOD_PERL - Apache2 configuration issue

2006-09-11 Thread Sumit Shah
Hello, I have created a very simple perl module (MyApache2::NewMod) using h2xs and installed it inside /usr/lib/Perl5. Following is the source: #file MyApache2/NewMod package MyApache2::NewMod; use strict; use warnings; sub handler { #Open a file for writing open(FH, "> test.