Randall A Sindlinger on 11 May 2011 14:22:00 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Philadelphia-pm] GetOpt::Long::Descriptive or GetOpt::Simple?


Hi folks,

I'd like to embed documentation into the options as I define them, similar to
the OptionParser in Python's optparse module.

In looking at CPAN; specifically, 
http://search.cpan.org/modlist/Option_Parameter_Config_Processing
it seems like there are 2 good candidates
  Getopt::Long::Descriptive 	Rpdfp 	Getopt::Long with usage text and validation
and
  Getopt::Simple	 	MpdOo 	A simple-to-use interface to Getopt::Long

Getopt::Simple is flagged "Mature" in its DLSIP options [1], which seems like it 
would be preferable to Getopt::Long::Descriptive, since it's only "Released" [2].

However, Getopt::Long::Descriptive looks much more concise, appears to have some
traction with Moose (which we're not using at all [yet]), and has 2 positive reviews.
So that would lead me toward choosing that one.

They both look actively developed/maintained.  Are there any other sources I should
be using to make a choice?

Thanks in advance,
-Randall

[1] http://search.cpan.org/dlsip?MpdOo
[2] http://search.cpan.org/dlsip?Rpdfp

--
  Randall Sindlinger
  Systems Programmer, CETS
  School of Engineering and Applied Science
  University of Pennsylvania
  
_______________________________________________
Philadelphia-pm mailing list
Philadelphia-pm@pm.org
http://mail.pm.org/mailman/listinfo/philadelphia-pm