my ($self, $arg1,...) = @_;
???
Why did you think that $self is automatically provided?
> So...is this madness?
Closures are an essential part of Perl's strength, unlikely anybody will help to cripple the language.
You might either consider changing to another OO frmework or using snippets in your IDE (like yasnippet in emacs) to facilitate writing methods.
Cheers Rolf
In reply to Re: Managing capture
by LanX
in thread Managing capture
by jbert
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |