On Fri, Apr 04, 2008 at 06:31:56PM -0500, John M. Dlugosz wrote:
> chromatic chromatic-at-wgz.org |Perl 6| wrote:
> >It shouldn't be.
> >
> So you are saying that in the example of
>
> class C {
> has $.a;
> method a ($self:)
You've declared method a twice here. has $.a is equivalent to
has $!a;
method a { $!a }
The variable is always really the $! form.
-ryan
