Subject: | small problem with Makefile.PL |
PHP::Interpreter v1.0
Perl v5.8.5
Linux 2.6.12-1.1372_FC3 i686 athlon i386 GNU/Linux
Small problem in line 5 of Makefile.PL:
my $phpdir = shift @ARGV || $^O eq 'MSWin32' ? 'C:\\php' : '/usr/local';
given an argument, $phpdir is set to "C:\\php", and without is set to "/usr/local"
my $phpdir = shift @ARGV || ($^O eq 'MSWin32' ? 'C:\\php' : '/usr/local');
produces the desired result
John