in reply to Re^2: symbolic reference + inheritance
in thread symbolic reference + inheritance
$pack->"${method}2"(); # <-- doesnt compile
Even Perl's syntax has its limits... :)
But you could do (if you really can't resist):
$pack->${\($method."2")};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: symbolic reference + inheritance
by toddfreed (Novice) on Sep 25, 2009 at 21:18 UTC |