[MTOS-dev] thrid party code, extlib, dependencies

Steve Ivy steveivy at gmail.com
Wed Mar 5 20:27:01 PST 2008


Hello,

I'm a new (like, 2 weeks) developer, churning through my first plugin.
Things are going well, the basics work, but I've entered a new level
of wha? by introducing a third party module: Net/SocialGraph[1].

I've got it in plugins/Friends(my plugin)/extlib. I need to use it
from plugins/Friends/lib/App/CMS.pm. In turn, it needs to use
(MT)/extlib/JSON.pm.

I have no idea how the dependencies should be made to work. I suspect
it involves 'use lib' but I'm not at all certain what needs to point
to what.

Any recomendations/best practices?

Thanks,

--Steve

[1] http://search.cpan.org/~simonw/Net-SocialGraph-1.1/lib/Net/SocialGraph.pm

-- 
Steve Ivy
http://redmonk.net // http://diso-project.org
This email is: [ ] bloggable [x] ask first [ ] private


More information about the MTOS-dev mailing list