Carl Franks skribis 2005-06-21 8:54 (+0100): > hmm, could we write... > sub foo (Class $self is topic: +$foo, +$bar) { > .method; > }
For such a short method, perhaps just using $_ directly makes more sense: sub foo (Class $_: +$foo, +$bar) { .method; } > to avoid having to use ./ There are many ways to "avoid" it. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html