Bug 369

Summary: perl-5.004m4-1 fails to work with Tk800.011
Product: [Retired] Red Hat Linux Reporter: J|rgen Christoffel <jc>
Component: perlAssignee: Crutcher Dunnavant <crutcher>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.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: 1999-05-16 22:13:48 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 J|rgen Christoffel 1998-12-09 19:16:30 UTC
Perl from package perl-5.004m4-1 as installed under Redhat
5.2 doesn't work with Perl/Tk anymore. I had Perl/Tk800.011
(from CPAN) installed and working under 5.1; after upgrading
to 5.2 even the simplest Perl/Tk program produces an error
referencing an undefined subroutine &main::-1, e.g.

  perl -MTk -e '$mw=MainWindow->new; $fr = $mw->Frame();'
  Undefined subroutine &main::-1 called at -e line 1.

De-installing and re-installing Perl/Tk doesn't help,
switching to a more recent release like Tk800.012 gives
exactly the same error.

A first work around is to re-install the perl version which
was distributed with 5.1.

BTW: perl is at 5.005_02 now and 5.004 seems to be rather
out of date. And perl 5.005_02 works fine with Tk800.011 on
our other, non-Redhat platforms.

Comment 1 David Lawrence 1998-12-09 20:30:59 UTC
We will be updating perl to the latest version with the next release.