bulk88 has asked for the wisdom of the Perl Monks concerning the following question:
scriptname.pl needs to do a system($^X, and pass the same exact -I and -M arguments to the child perl process. The names of modules loaded with the -M are random and not from a fixed list from the viewpoint of scriptname.pl. Looking at @INC and %INC is a problem because of unpredictable PERL5LIB/PERLLIB/PERL5DB/interp compile options.perl -MFoo::Module -I./specialib scriptname.pl --argv_arg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: getting called with interpreter arguments, not script arguments, not @ARGV
by BrowserUk (Patriarch) on Jul 10, 2013 at 22:58 UTC | |
|
Re: getting called with interpreter arguments, not script arguments, not @ARGV
by thomas895 (Deacon) on Jul 10, 2013 at 22:51 UTC | |
|
Re: getting called with interpreter arguments, not script arguments, not @ARGV ( Devel::PL_origargv )
by Anonymous Monk on Jul 10, 2013 at 23:07 UTC |