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

Bug#4505: Perl5.003-2 has wrong getopts.pl



   The /usr/lib/perl5/getopts.pl is broken: it won't take more than one option
   with an argument. More precisely: for Getopts('abcde:fghij'), only -e will care
   about its argument, not -a, -b, -c or -d. The previous version had not this
   problem. Here is the old one:

Jean,

Je crois que c'est l'ancienne qui avait un pb. Il faut sans doute ecrire

	Getopts('a:b:c:d:e:fghij');

A ce propos, Getopts::Long est tres bien pour les options longues et
courtes.

Yves.



Reply to: