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

package block syntax

Thread Next
April 27, 2010 13:25
package block syntax
Message ID:
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.

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