Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by swl (Vicar)
on Mar 24, 2022 at 00:42 UTC ( #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 (Abbot) 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? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2023-02-02 15:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (19 votes). Check out past polls.

    Notices?