merrymonk has asked for the wisdom of the Perl Monks concerning the following question:
I used this with the follwing command line C:\perl-programs>test-inc-iarg.pl -I c:\perl-programs\modules The print lines gave the following C:/perl5/lib C:/perl5/site/lib . As can be seen the addtional directory was not shown in the @INC array. Can anyone explain why this and what I should do so that I can use the -I argument? The folder options have been set so that files with extension .pl are processed as shown next C:\perl5\BIN\PERL.EXE %1 %*use strict "vars"; my $inc_item; foreach $inc_item (@INC) { print "$inc_item\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem using -I argument with Perl
by imp (Priest) on Jan 10, 2007 at 16:24 UTC | |
|
Re: Problem using -I argument with Perl
by rinceWind (Monsignor) on Jan 10, 2007 at 16:56 UTC | |
by ikegami (Patriarch) on Jan 10, 2007 at 17:41 UTC | |
by merrymonk (Hermit) on Jan 10, 2007 at 17:31 UTC | |
by rinceWind (Monsignor) on Jan 10, 2007 at 19:19 UTC | |
by merrymonk (Hermit) on Jan 11, 2007 at 08:16 UTC | |
by MaxKlokan (Monk) on Jan 11, 2007 at 09:16 UTC |