Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

AppConfig print usage

by chicks (Scribe)
on Sep 01, 2004 at 14:12 UTC ( [id://387527]=perlquestion: print w/replies, xml ) Need Help??

chicks has asked for the wisdom of the Perl Monks concerning the following question:

Short: Has anyone written something that takes the definitions passed to AppConfig and produces a usage message?

Long: We have a user that has gone absolutely ape-sh*t with using AppConfig and has scripts (whether he should or not I don't know) that have fourty or fifty options. It has become a challenge all in itself to maintain docs to cover all of these options. So he came to me asking for an easier way since AppConfig had made his life so much easier. It seemed like something worthy of automation, but I couldn't find many examples of people even using AppConfig. Has anyone warped AppConfig to make printing a usage message easier?

Replies are listed 'Best First'.
Re: AppConfig print usage
by Velaki (Chaplain) on Sep 01, 2004 at 15:22 UTC

    I found a CPAN link that shows something for usage, using a module called Pod::Usage combined with the AppConfig::Std module. It's a good example of what you might want to do with it.

    Hope this helps,
    -v

    "Perl. There is no substitute."

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://387527]
Approved by sschneid
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2024-03-28 13:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found