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

Re: [perl #123322] "our" has the same scoping rules as "my" or "state"

Thread Previous | Thread Next
From:
Eric Brine
Date:
December 2, 2014 00:53
Subject:
Re: [perl #123322] "our" has the same scoping rules as "my" or "state"
Message ID:
CALJW-qFB6UP6mLih3mar2wOhf-BbNx8vFcmK_XMp-qLabOV6Yg@mail.gmail.com
On Mon, Dec 1, 2014 at 6:49 PM, Aristotle Pagaltzis <pagaltzis@gmx.de>
wrote:

> Observe that the bare $x in the `say` statement resolves exactly the
> same way as in your examples


If you have to remove C<< use strict; >>, it's not "exactly the same". I
could care less what Perl does without C<< use strict; >>.

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