[Israel.pm] new module for CPAN: Getopt::Long::String

Mikhael Goikhman migo at homemail.com
Mon Jan 30 09:24:20 PST 2006

I can't agree that calling string2list behind the scenes justifies having
a new module. Partially, because all string parsing errors will carry the
"string2list" name on them. So if a user will be aware of it anyway, why
not call it directly? But I don't really care about having this module.

Just a note, if you want to make it into CPAN, correct the compilation of
your module please, it generates "Prototype mismatch: sub GetOptions (@)"
warning. Also, a CPAN module without POD is useless.

Older versions of Getopt::Long (the ones shipped with perl 5.005 or 5.6)
didn't specify prototypes. With the current versions shipped with 5.8,
you should add parentheses "use Getopt::Long ()" to disable this warning.
[It is always a good idea to explicitly import only needed functions.]


perl -e 'print+chr(64+hex)for+split//,d9b815c07f9b8d1e'

More information about the Perl mailing list