Yes, I believe that is exactly what I want. I was trying to do something like $self->&{ $argument }( ... ), so I can't believe I didn't try this.
On the other note: Is it really better to declare all of my methods, even if they are all so similar? I was reading through one of the intro to OO articles in the perldocs, which said AUTOLOAD is good, but I can see your point. Maybe I'll have to rewrite some of my code then.
Thanks for the help!
-Bryan
In reply to Re^2: Calling arbitrary method from new
by mrborisguy
in thread Calling arbitrary method from new
by mrborisguy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |