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

Re: package block syntax

Thread Previous | Thread Next
From:
David E. Wheeler
Date:
April 27, 2010 14:00
Subject:
Re: package block syntax
Message ID:
20E542D3-B933-4DAB-AD99-BFA8D0F54C69@kineticode.com
On Apr 27, 2010, at 1:24 PM, Zefram wrote:

> The attached patch implements a Perl 6ism that seems worth imitating:
> "package Foo { ... }" is equivalent to "{ package Foo; ... }".  I think
> this is worthwhile.  I'm posting it for discussion, not for immediate
> application, but if the consensus is in favour then this patch should
> be usable as-is.

+1

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