[EMAIL PROTECTED] (Alexei V. Barantsev) wrote:
>Jerrad Pierce <[EMAIL PROTECTED]> writes:
>
>> But nobody is typically a rather priveleged account...
>>
>> >
>> > On 11 Jul 2000, Alexei V. Barantsev wrote:
>> >
>> > > >From command line all is ok
>> > >
>> > > <HTML LANG="en-US"><HEAD><TITLE>Untitled Document</TITLE>
>> > > </HEAD><BODY><P>File::Copy::copydir ok</P>
>> > > <P>File::Recurse::recurse ok</P></BODY></HTML>
>> > >
>> > > In mod_perl I have the the different result
>> > >
>> > > <HTML LANG="en-US"><HEAD><TITLE>Untitled Document</TITLE>
>> > > </HEAD><BODY><P>File::Copy::copydir ok</P>
>> > > <P>File::Recurse::recurse failed</P></BODY></HTML>
>> > >
>> > > Why mod_perl does not like File::Recurse module???
>> >
>> > Probably permissions. Under mod_perl you are running as "nobody".
>> > - Perrin
>> >
>
>No, the problem is not in permissions. And not in mod_perl :(
>
>This script works right from command line if I run it as 'apache' -
>user account I have specially for httpd.
>
>But the scripts failed to find File::Recurse::recurse if running under
>usual mod_cgi!
>
>By the way, %File::Recurse:: contains symbol for 'recurse', so I can't
>understant why it is not defined...
It seems like you're loading two different modules, perhaps. Try
printing out $INC{'File/Recurse.pm'} and see whether it's different
under command line (or CGI) & mod_perl.
Also, make doubly sure that your mod_perl & standalone perl are using
the same perl binary. Do you have more than one?
------------------- -------------------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED] The Math Forum