* No compatible subroutine found: "&eyes"
at Desktop/testOO.pl line 27, column 1-20
Am I missing something in the syntax when I try to chain the
attribute methods? Or is this not implemented in pugs yet?
Thanks for any help.
Alex Gutteridge
EBI
Wellcome Trust Genome Campus
Hinxton
}
method callsmethod2 { .noargs(); }
}
$val = $foo.callsmethod2()
dies. (t/oo/method/instance.t)
It appears to be something to do with whether the methods are declared
with brackets (method callsmethod2 versus method callsmethod2()).
Maybe this is related.
Cheers
Ade
Alex Gutteridge w