That will pass strict 'refs' and will only call the function if the function can be called by that object.$pack->$string if $pack->can($string);
------
/me wants to be the brightest bulb in the chandelier!
Vote paco for President!
In reply to Re: Dynamic Method Calls
by dragonchild
in thread Dynamic Method Calls
by ton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |