develooper Front page | perl.perl5.porters | Postings from May 2010

Re: package block syntax

Thread Previous | Thread Next
From:
David Golden
Date:
May 19, 2010 09:49
Subject:
Re: package block syntax
Message ID:
AANLkTinDl3GAD8oFw211L9dAbMFvH5RWn8v5zKHztppe@mail.gmail.com
On Wed, May 19, 2010 at 12:39 PM, Zefram <zefram@fysh.org> wrote:
> I'm pretty sure that's not the case with package block.  The syntactic
> equivalence of "package Foo { ... }" with "{ package Foo; ... }" is a
> quite complete and precise description both of the effect that I'm aiming
> for and of how it's implemented.  So I don't think there's room for
> surprises in this case.  I totally accept the issue in the general case.

I haven't had tuits to look at the patch, but if you haven't done so
already, please make sure there are tests for:

    package Foo 1.23 { ... }

and

    package Foo v1.2.3 { ... }

Otherwise, I'm general supportive.

-- David

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