Could you explain the following

I have a little script and run it from command line and in mod_perl

#!/usr/bin/perl -w
use CGI qw(:standard);
use File::Tools;
print
  header,
  start_html,
  p( "File::Copy::copydir ", defined &File::Copy::copydir ? "ok" : "failed" ),
  p( "File::Recurse::recurse ", defined &File::Recurse::recurse ? "ok" : "failed" ),
  end_html;

>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???

-- 
ab
ICQ: 3959207

Reply via email to