When i had need of such a construct (persistant hash of subs and stuff), i used a tied DBM with MLDBM (from CPAN). Once any pre-existing subroutines were entered you can just save the DBM and use it. Then it behaves like a hash, and you can have access to the code.
i would put some code here, but the DBM you implement changes the way you tie a hash to it. Anyway, hope this helps...
jynx
In reply to Re: Tie::Source (Code Review requested)
by jynx
in thread Tie::Source (Code Review requested)
by rlk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |