develooper Front page | perl.perl5.porters | Postings from October 2003

Re: [perl #24233] -I changed behavior between 5.8.0 and 5.8.1

Thread Previous | Thread Next
Nicholas Clark
October 19, 2003 04:47
Re: [perl #24233] -I changed behavior between 5.8.0 and 5.8.1
Message ID:
On Sun, Oct 19, 2003 at 12:31:50AM -0700, Michael G Schwern wrote:
> On Thu, Oct 16, 2003 at 08:29:12PM -0000, (via RT) wrote:
> > The behavior of -I has changed between 5.8.0 and 5.8.1.  I'm not
> > actually sure if this is a bug or not as -I is not fully
> > documented (IMO).  
> Hmm, my reading is the behavior of splitting on : is its an undocumented
> feature.  The perlrun documentation says -I takes a directory not 
> directories.
> A safe way to work around it is to use one -I for each directory.
> However, the code to do the path split appears to still be in bleadperl so
> it looks like the split behavior of -I was unintentially broken by patch
> 18102.

It was intentionally changed. The splitting behaviour was never documented,
and was reported as bug 18066

The split code remains because it is used to handle the PERLLIB/PERL5LIB
environment variables.

Nicholas Clark

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About