develooper Front page | perl.perl5.porters | Postings from June 2008

Re: PERL5OPT -M processed after command line -M?

Thread Previous
From:
David Golden
Date:
June 3, 2008 03:13
Subject:
Re: PERL5OPT -M processed after command line -M?
Message ID:
5d4beb40806030313p47509df4ufbb1dd6ffb8eed4b@mail.gmail.com
On Tue, Jun 3, 2008 at 2:00 AM, Rafael Garcia-Suarez
<rgarciasuarez@gmail.com> wrote:
> I think it's intentional, because the traditional behaviour is to have
> command-line override environment. That can be interpreted in terms of
> precedence. I don't know whether anyone relies on that though.
>
> Note that parts of PERL5OPT take effect _before_ the command-line, for
> example -T:

I think it's the inconsistency that bothers me.  Some switches take
effect before, some after, mostly undocumented.  At least -T is sort
of documented.

Thread Previous


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