in reply to Re: Setting up helper objects in App::Cmd
in thread Setting up helper objects in App::Cmd
Hi Tobyink!
Once again thank you for your reply. A ++ for that.
When I need to do some module initialization for EVERY command. Is there a place/method to do so? Especially when I do initialization work based on the global options. I don't like the idea of doing the same thing, like
in every command's execute method.require SomeLib; SomeLib->init();
Best regards
McA
|
|---|