This has not been my week... another module related problem.
My ISP is missing many key modules and has outdated versions of others. So, I decide to create my own collection of modules under my own directory. Seems simple enough. I read the man pages, I re-read the explanantion in Effective Perl Programming (Hall & Schwartz). No problem.
I download DBI 1.14 to /usr/home/sz/myperl.
I unzip/untar the file.
I run Makefile.PL LIB=/usr/home/sz/myperl.
I run make and make test.
Everything looks good.
I then write bit of code to use DBI 1.14 just to see if it will compile. Being a good little monk-in-training I even remember to put use lib='usr/home/sz/myperl' before the "use DBI 1.14" statement.
Result: perl complains that it only has version 0.93, which is what the ISP has installed.
I've tried extending the lib pragma to /usr/home/sz/myperl/DBI-1.14/lib but this did not help.
Please put me out of my misery. I've reread everything manpage and perl book I have for clues.
sz sits quietly mumbling "learning is fun... learning is fun..."
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.