perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Förtsch <>
Subject Found in Apache-Reload/Makefile.PL
Date Sun, 15 Aug 2010 08:51:44 GMT

my $mp_gen;
    push @ARGV, "-apxs $ENV{MP_APXS}";
    my $mp_gen = satisfy_mp_generation(2);
else {
    $mp_gen = satisfy_mp_generation();

The 2nd "my $mp_gen" inside the if-branch looks suspicious.

Further, what is the "push @ARGV" for? If it is needed do you really want to 
push the string "-apxs ..."? At shell level that would mean:

  perl Makefile.PL -apxs\ /usr/local/whatever/...

which is quite unusual (note the backslash quoting the blank).

Shouldn't it rather read

  push @ARGV, '-apxs', $ENV{MP_APXS};


  push @ARGV, "-apxs=$ENV{MP_APXS}";

Torsten Förtsch

Need professional modperl support? Hire me! (

Like fantasy?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message