Posted on 2010-01-13 08:28:38.716207-08 by ghewson
Interactive versus non-interactive
This seems a pretty good package.

I want my application to run interactively or not according to the arguments passed to the driving script. What's the best way of achieving this? The driving script could parse the arguments before calling run() or run_interactive() as appropriate, but that's extra effort when CLI::Framework::Application does parsing too. Would it be OK to call run_interactive() from init() after calling run() from the driving script?

Direct Responses: 12426 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.