Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^3: What are the "prefix" and "lib" arguments to used for?

by jhourcle (Prior)
on Jul 31, 2006 at 14:43 UTC ( #564753=note: print w/replies, xml ) Need Help??

in reply to Re^2: What are the "prefix" and "lib" arguments to used for?
in thread What are the "prefix" and "lib" arguments to used for?

If you pass both, PREFIX will be used to generate PATH and MANPATH, while the LIB you passed in will be used as is.

And I'm relucant to say 'best practice', as what's best in each situation varies greatly. Specifying both should get the .pm files installed to the correct place, but I can't be sure that your man pages or executables will be.

And to respond to your other question --

'vendor' == Vendors of operating systems that supply already compiled versions of perl.

As for examples, the link I gave (which was labeled 'special', and could have been labeled better), is a talk by Michael Schwern titled 'Why PREFIX Will Never Work'. Slide 8 talks about Apple's values in MacOSX, and slide 9 talks about the values in Debian.

  • Comment on Re^3: What are the "prefix" and "lib" arguments to used for?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://564753]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2020-07-05 20:26 GMT
Find Nodes?
    Voting Booth?

    No recent polls found