|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Using "prototype" tricks in methodsby v_thunder (Scribe) |
| on Jul 30, 2003 at 22:02 UTC ( #279387=perlquestion: print w/ replies, xml ) | Need Help?? |
|
v_thunder has asked for the
wisdom of the Perl Monks concerning the following question:
I have a couple of methods that take a coderef, and I'd like to use the "prototype" trick to pass in a block instead of a sub as the first argument. The problem is, it's a method, so the first argument is $self. Am I just out of luck?
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||