I moved the module to /internal/charrison/. Every directory from root on down is 0777. Still same problems.
require '/internal/charrison/IPC.pm'; works! (However, it fails when IPC.pm issues 'use WDI;')
When clhtest (normally invoked by xinetd) is invoked from command line, it works fine, fork/exec'ing 'test'.
I think I am having some issues with the Perl 'exec' statement (whose documentation I frankly can't fathom). When I write
It fails in the usual manner. But when I write$command = q{/usr/bin/perl}; @arglist = q{-I /internal/charrison /internal/charrison/test -l /inter +nal/charrison -P /internal/charrison}; exec $command @arglist;
it *does* load IPC.pm successfully -- but then it chokes when IPC.pm does 'use WDI.pm;', like above. At this point I wonder if there's something wrong with the command string I'm passing to exec. (I now realize there are several different ways of giving paramenters to exec(), but I don't understand them, so I should probably stick to the single-argument model.)exec "$command @arglist";
In reply to Re: perl unable to locate my module
by ibm1620
in thread perl unable to locate my module
by ibm1620
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |