On Thu, Dec 18, 2008 at 02:07:23PM +0000, Tim Bunce wrote: > On Thu, Dec 18, 2008 at 10:55:38AM +0100, Johan Vromans wrote: > > Florian Ragwitz <rafl@debian.org> writes: > > > http://search.cpan.org/~flora/signatures-0.02/lib/signatures.pm > > > > Could this be enhanced to turn > > sub square ($num) : method { > > into > > sub square { my ($self, $num) = @_; > > (Although I'd prefer "method square ($num){" ) Personally, I'd like to support both, but I'm wierd like that. > Either way, shouldn't we be aiming to match the syntax to the semantics > in a way that's consistent with Perl 6? In other words require "is copy": > sub square ($num is copy) : method { Well ... that depends on the feasibility of read-only aliases, which I have yet to explore. -- Chip Salzenberg twitter:chipsalz "UTOPIA PLANITIA IS IN ORBIT is the new HAN SHOT FIRST" - Crisper Than ThouThread Previous | Thread Next