Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by johnnywang (Priest)
on Dec 03, 2007 at 21:34 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://654656]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-19 02:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found