Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re^4: Which takes priority site\lib or lib?

by BrowserUk (Pope)
on Feb 23, 2013 at 17:41 UTC ( #1020327=note: print w/replies, xml ) Need Help??

in reply to Re^3: Which takes priority site\lib or lib?
in thread Which takes priority site\lib or lib?

Well, old installations usually don't magically get a new perl. When installing a new major version of perl 5,

But I wasn't installing a new version of Perl -- major or minor.

I was upgrading to a newer version of Test::More (from cpan) that is a (required) dependency of the module from cpan that I wanted to install; namely Inline::CPP.

And it wasn't without warning either.

I meant at install time. I'm using 5.10, why would I read the delta for 5.12?

Essentially, these new semantics means that even though I had an existing installation of Test::More in site\lib (which it could easily detect), it went ahead and silently installed the new version in lib; with the predictable result.

At least a heads up at install time would be nice. Better yet, the possibility to chose where it installed it. Better yet, detect the version of perl into which it is installing and chose the old semantics for pre-5.12 builds.

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^4: Which takes priority site\lib or lib?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020327]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2018-06-17 23:09 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (107 votes). Check out past polls.