Answer the question
In order to leave comments, you need to log in
Perl application and configuration files?
Is there a platform independent way to deploy application configuration files? I would like that when executing the commands:
perl Makefile.PL
make && make test && make install
Answer the question
In order to leave comments, you need to log in
>perl Makefile.PL
Since perl is run before make, use this beautiful platform-independent language to determine the appropriate prefix.
Here is the first example from DBD::Interbase
…
my $os = $Config::Config{'osname'};
if ($os eq 'MSWin32')
{… and then let's poke around in the registry.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question