Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Seeking Getopt recommendations - anyone used Getopt::Easy?

by BaldPenguin (Friar)
on Jan 08, 2007 at 18:25 UTC ( [id://593588]=note: print w/replies, xml ) Need Help??


in reply to Seeking Getopt recommendations - anyone used Getopt::Easy?

I haven't used Getopt::Easy but from the docs it appears to just limit the config and options to a subset of what Getopt::Long can do. With that I can offer this advice.

I tend to use the same things over and over again, like Getopt::Long. Sometimes all I need is a -h for a help screen, other times it gets more complicated. Using the same libraries over time allows me to go into old scripts and change some parameters around. Using scaled down versions can strip me of some flexibility. Sometimes you need to worry about footprint and the scaled down versions are the best way to reduce program size.

Another blind comment, not having looked at source code, be careful to not include a library just because of the simpler API, they can just be frontends to the same large backend. In that case it's just as good to learn the more 'peculiar' interface and keep your options down the road open.

Don
WHITEPAGES.COM | INC
Everything I've learned in life can be summed up in a small perl script!
  • Comment on Re: Seeking Getopt recommendations - anyone used Getopt::Easy?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-19 21:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found