Bug 57635

Summary: perl errors during use Getopt::Long
Product: [Retired] Red Hat Linux Reporter: Jody McIntyre <jodym>
Component: perlAssignee: Chip Turner <cturner>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-12-17 23:01:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jody McIntyre 2001-12-17 23:01:01 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6+) Gecko/20011202

Description of problem:
The following line of perl does not work:
use Getopt::Long qw(:oonfig permute);

According to perldoc Getopt::Long, this should use the module and turn on
the "permute" config option.

Version-Release number of selected component (if applicable):
5.6.0-17

How reproducible:
Always

Steps to Reproduce:
1. perl -e 'use Getopt::Long qw(:config permute);'


Actual Results:  
"config" is not defined in %Getopt::Long::EXPORT_TAGS at
/usr/lib/perl5/5.6.0/Exporter/Heavy.pm line 75
        Exporter::heavy_export('Getopt::Long', 'main', ':config',
'permute') called at /usr/lib/perl5/5.6.0/Exporter.pm line 45
        Exporter::import(undef, 'Getopt::Long', ':config', 'permute')
called at -e line 1
        main::BEGIN() called at /usr/lib/perl5/5.6.0/Getopt/Long.pm line 1
        require 0 called at /usr/lib/perl5/5.6.0/Getopt/Long.pm line 1
"permute" is not exported by the Getopt::Long module at -e line 1
Can't continue after import errors at -e line 1
BEGIN failed--compilation aborted at -e line 1.


Expected Results:  No output.

Additional info:

Suggested fix: update to perl 5.6.1.

Comment 1 Chip Turner 2001-12-19 08:00:41 UTC
Fixed in rawhide 5.6.1 (SRPM should build in 7.2 if interested in testing further)