Thanks, I've replaced -w with use warnings. I'm still using #!/usr/bin/perl - the installer will change that to the Perl used for installation, at least AFAIK. Let me know if the next version works for you.
On Aug 14, 2012, at 10:05 AM, Wes Sheldahl via RT wrote:
Show quoted text> Tue Aug 14 13:05:11 2012: Request 78958 was acted upon.
> Transaction: Ticket created by WSHELDAHL
> Queue: Server-Control
> Subject: (No subject given)
> Broken in: (no value)
> Severity: (no value)
> Owner: Nobody
> Requestors: WSHELDAHL@cpan.org
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=78958 >
>
>
> When using perl-5.10.0, apachectlp always spits out this warning from File::Slurp line 3: "v-
> string in use/require non-portable"
>
> This can be fixed by changing the first two lines of apachectlp from:
>
> #!/usr/bin/perl -w
> use strict;
>
> to:
>
> #!/usr/bin/env perl
> use strict;
> use warnings;
>
> Doing this avoids the warning, and also uses whatever perl is in the user's PATH. Thanks!
>