> That's because your editor hasn't picked up where your modules are
> living.

Yes, you are right of course. This has made me wonder if I'm putting them in
the right place.  My db is called GARD so I simply created a dir under
cgi-bin called GARD and put the DB.pm and the table modules in there.  Then
I created cgi-bin/GARD/DB/Object.pm too.  Thus my scripts in cgi-bin find
them due to the path derived from the module name.  Is this
normal/recommended or do most people put them under perl/site/lib?

> 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.

I don't think it has this.  PerlEdit just seems to use whatever setting PERL
uses.  So if I go into GARD directory and then type "perl Book.pm", then I
naturally get the same message.  Now I understand, it seems elementary but
it is confusing for someone who has never made a module before.


-------------------------------------------------------------------------
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