SPUG: oddity (bug?) with isa()

Showell30 at aol.com Showell30 at aol.com
Tue Mar 20 09:06:33 CST 2001


We had a class called Widget that inherited from a non-existent Thingy class, 
and our call to isa for Thingy on a Widget failed.  We could add this to your 
VERSION 1 code somewhere:

package Thingy;
return 1;

It would then work.   Perl -w did help me identify the problem:

Can't locate package Thingy for @Widget::ISA.

Hope that helps,

Steve Howell


 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
  Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/





More information about the spug-list mailing list