Bug 57635 - perl errors during use Getopt::Long
Summary: perl errors during use Getopt::Long
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: perl   
(Show other bugs)
Version: 7.2
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Chip Turner
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2001-12-17 23:01 UTC by Jody McIntyre
Modified: 2007-04-18 16:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-12-17 23:01:05 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

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):

How reproducible:

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)

Note You need to log in before you can comment on or make changes to this bug.