sodved has asked for the wisdom of the Perl Monks concerning the following question:
Hi, We are upgrating from perl 5.8.3 on 32bit a platform to 5.8.8 on a 64bit platform. We have some custom XS modules we have written. But I am noticing a difference in the behaviour of the -I flag.
In perl 5.8.8 running
PERL5LIB=DIR perl -e 'print join("\n",grep(/DIR/,@INC))."\n"'
gives
DIR/x86_64-linux-thread-multi DIR
But running
perl -IDIR -e 'print join("\n",grep(/DIR/,@INC))."\n"'
only gives
DIR
In perl 5.8.3 both commands give the same output. i.e. The -I flag in perl 5.8.3 automatically includes the architecture specific subdirectory, but it does not in perl 5.8.8.
So is this a deliberate change in the behaviour of the -I flag (I couldn't find anything in perldelta) or is there and issue with my perl 5.8.8 setup and/or config.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: @INC -I flag and architecture dependant subdirectory
by ikegami (Patriarch) on Sep 23, 2010 at 03:28 UTC | |
by sodved (Initiate) on Sep 26, 2010 at 07:42 UTC | |
|
Re: @INC -I flag and architecture dependant subdirectory
by Anonymous Monk on Sep 23, 2010 at 03:21 UTC |