![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Re^4: How to conditionally execute a subroutine defined as hash valueby derby (Abbot) |
on Apr 02, 2014 at 11:15 UTC ( #1080752=note: print w/replies, xml ) | Need Help?? |
Not sure i like the lock-in you get with the anon sub approach. I would make the config hash have both the sub references and the options references -- that way if you ever needed to override the options, it's a bit cleaner
-derby
In Section
Seekers of Perl Wisdom
|
|