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

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

Thread Previous | Thread Next
From:
jvromans
Date:
December 5, 2011 02:16
Subject:
Re: what's "use VERSION" all about?
Message ID:
20188.39407.109096.291072@phoenix.squirrel.nl
[Quoting hv@crypt.org, on December 5 2011, 08:14, in "Re: what's "use VERS"]
> Sorry, I don't understand this argument. How does it make something simpler
> to have it restricted to a file rather than to a lexical scope?

The fact that each compilation unit starts with a well-defined set of
features. Most of the current controversy comes from downgrading:

  use feature 'bla';
  use version ':5.16';		# includes 'bla'
  use version ':5.12';		# does not include 'bla'
  # is 'bla' enabled or not?

-- 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