SPUG: Modules - more than one object in file?
toddw at wrq.com
Wed Oct 11 14:44:20 CDT 2000
Aha!! This is what got me...
Thanks so much!
From: Prabhjot Basi [mailto:pbasi at n2h2.com]
Sent: Wednesday, October 11, 2000 12:42 PM
To: Todd Wells
Subject: RE: SPUG: Modules - more than one object in file?
Tried running your example - But came across syntax error
@ISA = qw( "TestEngine");
it should be @ISA = qw( TestEngine );
Hope it helps
On Wed, 11 Oct 2000, Todd Wells wrote:
:)Okay, I still don't know why I'm having these problems, but here's the
:)specific problem I'm having, and I just don't understand why or what I
:)to do to fix it.
:)The TestCase package is in the same file as TestEngine (TestEngine.pm).
:)TestCase @ISA TestEngine, or so I've said in the TestCase package. A
:)of TestCase is trying to call the logger() method of TestEngine. On the
:)line where logger() is called, it generates this error stack:
:)Can't locate package "TestEngine" for @TestCase::ISA at TestEngine.pm line
:)<IN> line 54.
Prabhjot K. Basi N2H2 Inc.
Advanced Technologies http://www.n2h2.com
Voice (206)336-1510 Fax (206)336-1541
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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