XP is just a number | |
PerlMonks |
Re: Restarting script without losing handlesby fokat (Deacon) |
on Aug 21, 2002 at 19:25 UTC ( [id://191845]=note: print w/replies, xml ) | Need Help?? |
I feel you can solve this problem in an easier way, like this:
In fact, you could accomplish the last phase by placing your script in a separate namespace, say:
The config file could be explicitly placed in the main namespace. You can then delete all non-built-in symbols in main deleted. This would get rid of even the actions defined as subs in the config file. I have a similar thing in production which works fine. It handles around 20 RADIUS authentications per second :) Good luck.
In Section
Seekers of Perl Wisdom
|
|