Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: How to include CPAN packages in distribution package

by johnnywang (Priest)
on Dec 03, 2007 at 21:34 UTC ( #654656=note: print w/replies, xml ) Need Help??


in reply to Re: How to include CPAN packages in distribution package
in thread How to include CPAN packages in distribution package

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.

  • Comment on Re^2: How to include CPAN packages in distribution package

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://654656]
help
Chatterbox?
[shmem]: meh. setting up a SIG{__DIE__} before loading Net::SSLeay still triggers Can't locate object method "tid" via package "threads" at /usr/share/perl/5. 20/XSLoader.pm
[choroba]: setting in a BEGIN block?
[shmem]: choroba, yes

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2017-07-26 15:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (396 votes). Check out past polls.