However, using a variable is probably clearer.$f->${\("prefix_$key")}($atr);
Update: added the missing '$' pointed out by ikegami
--Dave
Opinions my own; statements of fact may be in error.
In reply to Re^2: Dynamically constructed function calls
by dpuu
in thread Dynamically constructed function calls
by WalruZ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |