The fact that you think of display as being a method and not a sub is not known to perl.
In Perl 5 the question of whether something is treated as a method or a sub is determined by the caller, not by a declaration.
In reply to Re: Object Method Call
by moritz
in thread Object Method Call
by bkv2k
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |