McA has asked for the wisdom of the Perl Monks concerning the following question:
Hi all,
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.
Best regards
McA
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Right place to put common execute code in App::Cmd
by tobyink (Canon) on Dec 10, 2012 at 14:59 UTC | |
by McA (Priest) on Dec 10, 2012 at 15:06 UTC | |
by tobyink (Canon) on Dec 10, 2012 at 16:43 UTC |