|Perl: the Markov chain saw|
Right place to put common execute code in App::Cmdby McA (Priest)
|on Dec 10, 2012 at 14:49 UTC||Need Help??|
McA has asked for the
wisdom of the Perl Monks concerning the following question:
I do have a problem with App::Cmd at the moment. I don't know where the right place is to execute code which is common to all commands.
In all commands I want to execute some common code without explicitly calling it in the command's execute method. And I want that validate_args is run before.
Hints and ideas welcome.