Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Specify particular Perl path to a module during installation

by space_monk (Chaplain)
on Nov 30, 2012 at 08:14 UTC ( [id://1006426]=note: print w/replies, xml ) Need Help??


in reply to Re: Specify particular Perl path to a module during installation
in thread Specify particular Perl path to a module during installation

I don't think you have to edit Makefile.PL at all as long as you are sure the PATH environment variable points to the 5.16.1 version of perl first before you build the module. Just do perl -v from the command line before running Makefile.PL to make sure.
A Monk aims to give answers to those who have none, and to learn from those who know more.
  • Comment on Re^2: Specify particular Perl path to a module during installation

Replies are listed 'Best First'.
Re^3: Specify particular Perl path to a module during installation
by CountZero (Bishop) on Nov 30, 2012 at 17:19 UTC
    True, but many programs and services on your computer may rely on the "system" Perl to do their jobs. Switching wholesale to a newer Perl may very well cause all kinds of havoc that will be difficult to trace. I'd rather not mess around with such global options, unless there is absolutely no other solution available.

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

    My blog: Imperial Deltronics

      Thanks for your replies! I have the same concern that CountZero has. Making changes to the PATH will definitely help me out with the current issue but it might create issues with the existing applications that require version 5.8.8, and that's exactly what i also mentioned in my original post.

      And yes, as CountZero mentioned, i thought about making changes in Makefile.pl itself to point it to 5.16.1 but it wasn't working due to some syntax issue. Today it finally worked. :)

      Thanks again!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2024-04-25 06:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found