Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: RFC: nicer subs with GetOptionsFromArray from Getopt::Long

by swl (Parson)
on Mar 24, 2022 at 00:42 UTC ( [id://11142346]=note: print w/replies, xml ) Need Help??


in reply to RFC: nicer subs with GetOptionsFromArray from Getopt::Long

It's worth looking at other modules in the Getopt namespace to see if there is prior art that could be adapted (or which might already do this). One that seems to overlap with this proposal is Getopt::Long::Descriptive.

  • Comment on Re: RFC: nicer subs with GetOptionsFromArray from Getopt::Long

Replies are listed 'Best First'.
Re^2: RFC: nicer subs with GetOptionsFromArray from Getopt::Long
by Discipulus (Canon) on Mar 24, 2022 at 08:22 UTC
    Thanks for looking swl,

    > It's worth looking at other modules ..

    for sure worth before making this idea a module, I'll investigate it, but I dont think Getopt::Long::Descriptive overlaps with this.

    Infact Getopt::Long::Descriptive as mainly Getopt::Long does is intended to work on @ARGV while my idea is to provide a simple hack to bring these functionality working on @_ or, if you prefere, these modules enhances the program while my idea is to enhance subs usage.

    But anyway thanks for looking.

    L*

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-25 14:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found