Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Smart way to deal with cmdline Args?

by kevbot (Chaplain)
on Dec 10, 2010 at 08:52 UTC ( #876404=note: print w/ replies, xml ) Need Help??


in reply to Smart way to deal with cmdline Args?

If you are familiar with Moose then I would recommend taking a look at MooseX::GetOpt. It is great for rapidly creating command-line applications and it has options for dealing with config files.

From the MooseX::GetOpt documentation: If your class also uses a configfile-loading role based on MooseX::ConfigFromFile, such as MooseX::SimpleConfig, MooseX::Getopt's new_with_options will load the configfile specified by the --configfile option (or the default you've given for the configfile attribute) for you.


Comment on Re: Smart way to deal with cmdline Args?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://876404]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2015-07-07 05:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls