Gerald,
I tried using Apache::File and get this:

        use Apache::File; # Line 6 in source code of init.epl

[416]ERR: 24: Error in Perl code: Can't locate loadable object for module 
Apache::File in @INC (@INC contains: 

/usr/lib/perl5/5.00503/i386-linux 
/usr/lib/perl5/5.00503 
/usr/lib/perl5/site_perl/5.005/i386-linux 
/usr/lib/perl5/site_perl/5.005 
. 
/wwww/ 
/wwww/lib/perl

) at /usr/lib/perl5/site_perl/5.005/i386-linux/mod_perl.pm line 65535 
I did: "find /usr/lib/ -name File.pm" which gives back:

/usr/lib/perl5/5.00503/i386-linux/IO/File.pm
/usr/lib/perl5/site_perl/5.005/i386-linux/Apache/File.pm
/usr/lib/perl5/site_perl/5.005/Apache/Session/Store/File.pm
/usr/lib/perl5/site_perl/5.005/Apache/Session/Lock/File.pm
/usr/lib/perl5/site_perl/5.005/Apache/Session/File.pm


Why isn't it seeing my Apache/File.pm module like it should?

Scott

On 20 Dec 2001 at 21:17, Gerald Richter wrote:

> >
> > open ($req->{DBUGF}, '>>/tmp/debug.txt') || die ("Can't open debug
> > file for writing: $!");
> >
> 
> I am not sure if this syntax works at all. I would use Apache::File instead
> (or IO::File if you don't run udner mod_perl):
> 
> $req->{DBUGF} = Apache::File -> new ('>>/tmp/debug.txt') || die ("Can't open
> debug  file for writing: $!");
> 
> Gerald
> 
> P.S. If you have set optRawInput there is no need to escape < and > in the
> source
> 
> 
> -------------------------------------------------------------
> Gerald Richter    ecos electronic communication services gmbh
> Internetconnect * Webserver/-design/-datenbanken * Consulting
> 
> Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
> E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
> WWW:        http://www.ecos.de      Fax:      +49 6133 925152
> -------------------------------------------------------------
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to