Thanks! This is exactly what I wanted.
I have no idea why I couldn't figure it out myslef - it's simple, clean, elegantly avoids duplication of code, and requires no playing with AUTOLOAD or caller()
In reply to Re^2: Should one treat method name as input?
by Eyck
in thread Should one treat method name as input?
by Eyck
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |