This queue is for tickets about the Sys-RunAlone CPAN distribution.

Report information
The Basics
Id:
83700
Status:
open
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
felix.ostmann [...] thewar.de
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
0.12
Fixed in:
(no value)



Subject: Wrong error message
from source: # no data handle, we're screwed elsif ( tell( *main::DATA ) == -1 ) { print STDERR "Add __END__ to end of script '$0'" . " to be able use the features of Sys::RunALone\n"; exit 2; } bugfix: s/__END__/__DATA/; s/RunALone/RunAlone/;
On Fri Mar 01 01:15:35 2013, Sadrak wrote:
Show quoted text
> from source: > > # no data handle, we're screwed > elsif ( tell( *main::DATA ) == -1 ) { > print STDERR "Add __END__ to end of script '$0'" > . " to be able use the features of Sys::RunALone\n"; > exit 2; > } > > bugfix: > s/__END__/__DATA/;
FWIW, __END__ and __DATA__ have the same effect.
Subject: Re: [rt.cpan.org #83700] Wrong error message
Date: Wed, 30 Apr 2014 12:03:46 +0200
To: bug-Sys-RunAlone@rt.cpan.org
From: Elizabeth Mattijsen <liz@dijkmat.nl>
Maintenance of this module is available to anyone interested. On 29 Apr 2014, at 22:22, Thomas Sibley via RT <bug-Sys-RunAlone@rt.cpan.org> wrote:
Show quoted text
> Queue: Sys-RunAlone > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=83700 > > > On Fri Mar 01 01:15:35 2013, Sadrak wrote:
>> from source: >> >> # no data handle, we're screwed >> elsif ( tell( *main::DATA ) == -1 ) { >> print STDERR "Add __END__ to end of script '$0'" >> . " to be able use the features of Sys::RunALone\n"; >> exit 2; >> } >> >> bugfix: >> s/__END__/__DATA/;
> > FWIW, __END__ and __DATA__ have the same effect.
On Wed, 30 Apr 2014 10:04:03 GMT, liz@dijkmat.nl wrote:
Show quoted text
> Maintenance of this module is available to anyone interested. > > On 29 Apr 2014, at 22:22, Thomas Sibley via RT <bug-Sys- > RunAlone@rt.cpan.org> wrote:
> > Queue: Sys-RunAlone > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=83700 > > > > > On Fri Mar 01 01:15:35 2013, Sadrak wrote:
> >> from source: > >> > >> # no data handle, we're screwed > >> elsif ( tell( *main::DATA ) == -1 ) { > >> print STDERR "Add __END__ to end of script '$0'" > >> . " to be able use the features of Sys::RunALone\n"; > >> exit 2; > >> } > >> > >> bugfix: > >> s/__END__/__DATA/;
> > > > FWIW, __END__ and __DATA__ have the same effect.
So it's perhaps slightly more helpful if the error message says something like: Add __END__ or __DATA__ to the end of script. FYI, this is implemented in my fork Sys::RunAlone::Flexible.
Subject: Re: [rt.cpan.org #83700] Wrong error message
Date: Tue, 29 Jan 2019 11:27:05 +0100
To: bug-Sys-RunAlone@rt.cpan.org
From: Elizabeth Mattijsen <liz@dijkmat.nl>
Please don’t fork, but take ownership of Sys::RunAlone :-)
Show quoted text
> On 29 Jan 2019, at 10:34, Perl Ancar via RT <bug-Sys-RunAlone@rt.cpan.org> wrote: > > Queue: Sys-RunAlone > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=83700 > > > On Wed, 30 Apr 2014 10:04:03 GMT, liz@dijkmat.nl wrote:
>> Maintenance of this module is available to anyone interested. >> >> On 29 Apr 2014, at 22:22, Thomas Sibley via RT <bug-Sys- >> RunAlone@rt.cpan.org> wrote:
>>> Queue: Sys-RunAlone >>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=83700 > >>> >>> On Fri Mar 01 01:15:35 2013, Sadrak wrote:
>>>> from source: >>>> >>>> # no data handle, we're screwed >>>> elsif ( tell( *main::DATA ) == -1 ) { >>>> print STDERR "Add __END__ to end of script '$0'" >>>> . " to be able use the features of Sys::RunALone\n"; >>>> exit 2; >>>> } >>>> >>>> bugfix: >>>> s/__END__/__DATA/;
>>> >>> FWIW, __END__ and __DATA__ have the same effect.
> > So it's perhaps slightly more helpful if the error message says something like: Add __END__ or __DATA__ to the end of script. > > FYI, this is implemented in my fork Sys::RunAlone::Flexible.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.