develooper Front page | perl.perl5.porters | Postings from December 2011

Re: what's "use VERSION" all about?

Thread Previous | Thread Next
From:
Johan Vromans
Date:
December 5, 2011 23:40
Subject:
Re: what's "use VERSION" all about?
Message ID:
m2ty5eqhar.fsf@phoenix.squirrel.nl
Ricardo Signes <perl.p5p@rjbs.manxome.org> writes:

> I think it will be easier to explain if "use V" always means "reset
> and enable the exact group."

This is as close as you can get to the "one use version per compile
unit" proposal.

>   * 'use VERSION' means: configure exactly the version's normal set of
>     features, but do not change the setting for any already mentioned in
>     a "use features" (or "use strict") line

Perl has far too many simple rules with complex, hard to explain
exceptions. Let's avoid these as much a spossible.

-- Johan

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