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
From:
Autrijus Tang
Date:
October 19, 2003 16:24
Subject:
Re: [perl #24233] -I changed behavior between 5.8.0 and 5.8.1
Message ID:
1066576732.1739.38.camel@localhost
?b 日, 2003-10-19 19:46, Nicholas Clark ?g?D?G 
> On Sun, Oct 19, 2003 at 12:31:50AM -0700, Michael G Schwern wrote:
> > Hmm, my reading is the behavior of splitting on : is its an undocumented
> > feature.  The perlrun documentation says -I takes a directory not 
> > directories.
> It was intentionally changed. The splitting behaviour was never documented,
> and was reported as bug 18066

Yay, that means for 5.8.1 and later, I can skip the kluge in PAR.pm that
deals with this:

    perl -MPAR -Ihttp://example.org/dbi-latest.par -MDBI ...

Previously perl was splitting the "http" part away, so I had to
reassemble @INC back with horrible heuristics... ;-)

Thanks,
/Autrijus/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About