Skip Menu |

This queue is for tickets about the Server-Control CPAN distribution.

Report information
The Basics
Id: 78958
Status: open
Priority: 0/
Queue: Server-Control

People
Owner: Nobody in particular
Requestors: WSHELDAHL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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!
Subject: Re: [rt.cpan.org #78958]
Date: Tue, 14 Aug 2012 10:17:11 -0700
To: bug-Server-Control [...] rt.cpan.org
From: Jonathan Swartz <swartz [...] pobox.com>
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! >
Subject: Re: [rt.cpan.org #78958]
Date: Tue, 14 Aug 2012 10:28:17 -0700
To: bug-Server-Control [...] rt.cpan.org
From: Jonathan Swartz <swartz [...] pobox.com>
Incidentally, you're the first person I've ever heard of using this, so I'd be interested to hear if you find it useful and any feedback for improvements! On Aug 14, 2012, at 10:17 AM, Jonathan Swartz via RT wrote: Show quoted text
> Queue: Server-Control > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=78958 > > > 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: >
>> 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! >>
> >