To use the dispatch table, I'll have to modify both the table and add the subroutine instead of just adding a new routine to my program
However, as you pointed out, what if someone defined a nefarious routine? My program would simply do it's little check, notice the "checkCauseMayhem" and go on its merry way.
In reply to Re^2: Trying to get around the "use strict 'refs'" Issue
by qazwart
in thread Trying to get around the "use strict 'refs'" Issue
by qazwart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |