|Think about Loose Coupling|
Re: perl unable to locate my moduleby ibm1620 (Scribe)
|on May 22, 2013 at 23:50 UTC||Need Help??|
Here's where things stand, taking into account various people's suggestions:
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
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.)