App on Perl and config files?

Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
Is there any platform independent way to deploy the application configuration? I would like to when you run the commands:
perl Makefile.PL make && make test && make install

configs are installed in /etc/ (be sure to view the PREFIX). Since the OS uses FreeBSD, it is in principle possible to use make-hooks for this. But this does work only on FreeBSD.
by | 23 views

1 Answer

0 like 0 dislike
>perl Makefile.PL
since perl is launched to make use this wonderful platform independent language to define the appropriate prefix.
Here is the first example from the DBD::Interbase
my $os = $Config::Config{'osname'};
if ($os eq 'MSWin32')
{... and then drove in the registry poking around.

Related questions

0 like 0 dislike
1 answer
asked Mar 21, 2019 by nikitad
0 like 0 dislike
5 answers
asked Jun 14, 2019 by vanyabrovaru
0 like 0 dislike
1 answer
asked Jun 4, 2019 by strongmonkey
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked May 4, 2019 by fenek644
110,608 questions
257,187 answers
40,473 users