Ubuntu

[karmic] Can't locate object method if package's ISA is created dynamically

Reported by Piotr Roszatycki on 2009-12-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
perl (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: perl

Attached test case ran with Ubuntu karmic:

$ perl test_isa.pl
@TestISASubclass::ISA = (TestISABase)
Can't locate object method "method" via package "TestISASubclass" at TestISABase.pm line 14.
BEGIN failed--compilation aborted at TestISASubclass.pm line 3.
Compilation failed in require at test_isa.pl line 3.

The same test case ran with any other Perl runtime (ActiveState or perl.org):

$ perl-5.10 test_isa.pl
@TestISASubclass::ISA = (TestISABase)
** TestISASubclass->method called

Piotr Roszatycki (dexter) wrote :
summary: - Can't locate object method if package's ISA is created dynamically
+ [karmic] Can't locate object method if package's ISA is created
+ dynamically
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments