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!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.