Skip Menu |

This queue is for tickets about the Lingua-EN-Grammarian CPAN distribution.

Report information
The Basics
Id: 93822
Status: resolved
Priority: 0/
Queue: Lingua-EN-Grammarian

People
Owner: Nobody in particular
Requestors: brian.pat.kelly [...] googlemail.com
Cc:
AdminCc:

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



Subject: Errors file not loaded when Cautions file available
Date: Thu, 13 Mar 2014 08:07:26 +0000
To: bug-lingua-en-grammarian [...] rt.cpan.org
From: Brian Kelly <brian.pat.kelly [...] googlemail.com>
Hi, In version 0.000004 the errors file [{~,.,/usr/local/share}/grammarian_errors] does not seem to be getting loaded when the cautions file is available [{~,.,/usr/local/share}/grammarian_cautions]. This results in lots of 'uninitialised' warnings and no detection of errors (although cautions are detected) when run against the included demo.pl file: Use of uninitialized value $ERRORS_REGEX in regexp compilation at /Users/briankelly/perl5/lib/perl5/Lingua/EN/Grammarian.pm line 494, <> line 1292. Use of uninitialized value in subtraction (-) at /Users/briankelly/perl5/lib/perl5/Lingua/EN/Grammarian.pm line 644, <> line 1292. This impacts perl 5.10 and 5.16. I've attached a suggested patch. Best wishes, Brian

Message body is not shown because sender requested not to inline it.

Subject: Re: [rt.cpan.org #93822] Errors file not loaded when Cautions file available
Date: Thu, 13 Mar 2014 08:30:47 +0000
To: bug-Lingua-EN-Grammarian [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Thanks, Brian. Wow, that was a rookie mistake on my part! ;-) I've patched the problem and uploaded a new release to CPAN. Much appreciated! Damian
Subject: Re: [rt.cpan.org #93822] Errors file not loaded when Cautions file available
Date: Thu, 13 Mar 2014 08:54:30 +0000
To: bug-Lingua-EN-Grammarian [...] rt.cpan.org
From: Brian Kelly <brian.pat.kelly [...] googlemail.com>
Thanks Damian, That was quick! Updated my version and will let you know if I find any other issues. Excellent talk @london.pm BTW. Best wishes, Brian On 13 March 2014 08:31, damian@conway.org via RT < bug-Lingua-EN-Grammarian@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=93822 > > > Thanks, Brian. > > Wow, that was a rookie mistake on my part! ;-) > > I've patched the problem and uploaded a new release to CPAN. > > Much appreciated! > > Damian > >
Subject: Re: [rt.cpan.org #93822] Errors file not loaded when Cautions file available
Date: Thu, 13 Mar 2014 10:36:42 +0000
To: bug-lingua-en-grammarian <bug-Lingua-EN-Grammarian [...] rt.cpan.org>
From: Damian Conway <damian [...] conway.org>
Show quoted text
> That was quick! Updated my version and will let you know if I find any > other issues.
Much appreciated, Brian! Show quoted text
> Excellent talk @london.pm BTW.
Thank-you. I had a great time giving it. Glad you enjoyed it too. :-) Damian
Subject: Re: [rt.cpan.org #93822] Errors file not loaded when Cautions file available
Date: Thu, 13 Mar 2014 10:36:42 +0000
To: bug-lingua-en-grammarian <bug-Lingua-EN-Grammarian [...] rt.cpan.org>
From: Damian Conway <damian [...] conway.org>
Show quoted text
> That was quick! Updated my version and will let you know if I find any > other issues.
Much appreciated, Brian! Show quoted text
> Excellent talk @london.pm BTW.
Thank-you. I had a great time giving it. Glad you enjoyed it too. :-) Damian