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

Re: package block syntax

Thread Previous | Thread Next
David Golden
May 19, 2010 09:49
Re: package block syntax
Message ID:
On Wed, May 19, 2010 at 12:39 PM, Zefram <> 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 { ... }


    package Foo v1.2.3 { ... }

Otherwise, I'm general supportive.

-- David

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About