> use base qw(GARD::DB::Object);
>
> However, I use Indigo PerlEdit as my editor and if I check syntax using
> this, the check fails pointing to this line as the culprit.  The error
> message is this:
>
> Base class package "GARD::DB::Object" is empty.     (Perhaps you need to
> 'use' the module which defines that package first.)

That's because your editor hasn't picked up where your modules are
living. I'm not familiar with Indigo, but Komodo by ActiveState has
the same feature, and there is a setting in there where you can point
it at your current library path so that it knows about your standard
perl modules, as well as the ones you are working on right now.

I imagine Indigo would have to have the same type of setting,
otherwise it would also fail whenever you tried to call any methods in
any of your own objects.

regards,
Danial
-- 
"When I was a kid I used to pray every night for a new bike. Then I
realised that the Lord doesn't work that way so I stole one and asked
him to forgive me."

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to