Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: How to include CPAN packages in distribution packageby johnnywang (Priest) |
on Dec 03, 2007 at 21:34 UTC ( [id://654656]=note: print w/replies, xml ) | Need Help?? |
Thanks, I knew about "use lib" for my own lib paths, just never tried to have a CPAN module like DBI in my own path.
I just did a manual make of DBI from source, all the files are in the usual blib directory, I'm thinking that if I put everything of blib (except the docs) as part of my distribution (keeping the same structure like: lib/auto, lib/Bundle, lib/DBD, etc.) it should all work. I guess I'll just go ahead and do that, and report back. Update Yes, it's as simple as that, I took the blib/lib directory, and moved it somewhere, and just do "use lib" to point there, all worked fine.
In Section
Seekers of Perl Wisdom
|
|