Getopt::Long does not always respect no_ignore_case with pass_through

Bug #286987 reported by Jeffrey Ratcliffe on 2008-10-21
2
Affects Status Importance Assigned to Milestone
perl (Debian)
Fix Released
Unknown
perl (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: perl

The attached program illustrates the problem. The output in all recent versions up to 5.10.0-11.1ubuntu2 is below:

$./GO.pl
$VAR1 = {
          'l' => 'foo'
        };
$VAR1 = {
          'L' => 1
        };
$VAR1 = {
          'l' => 'foo'
        };
$VAR1 = {};

As no_ignore_case is turned on, and a -L option is not used, the 'L' => 1 from the second print statement is incorrect, and should be 'l' => 1, similarly, the fourth print statement should also produce 'l' => 1

tags: added: udd-find
Changed in perl (Debian):
status: Unknown → Incomplete
Changed in perl (Debian):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.