![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: subroutine ref while "strict refs"by BillKSmith (Monsignor) |
on Jul 28, 2014 at 12:09 UTC ( #1095342=note: print w/replies, xml ) | Need Help?? |
If anyone adds a subroutine, you will at least need a new 'use' statement to reference it. There does not seem to be much advantage in eliminating the need for other changes. Use a method that is clear and easy to modify. I like the dispatch table. Add a new entry for each new subroutine.
Bill
In Section
Seekers of Perl Wisdom
|
|