For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > February 2005 > Read config variables in instalation script









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Read config variables in instalation script
Santiago Hirschfeld

2005-02-25, 3:57 pm

Hi everyone,
I'm trying to make an installer for my program and was planning on
using ExtUtils::MakeMaker, but don't know how to read the value set in
PREFIX when the user does:

perl Makefile.PL PREFIX=/foo/bar

How can i read this value in the main program? to reffer some paths to that.

Thanks to everyone.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com