Skip Menu |

This queue is for tickets about the Text-Extract-MaketextCallPhrases CPAN distribution.

Report information
The Basics
Id: 120528
Status: open
Priority: 0/
Queue: Text-Extract-MaketextCallPhrases

People
Owner: Nobody in particular
Requestors: me [...] eboxr.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.93
  • 0.94
Fixed in: (no value)



Subject: Warnings from get_phrases_in_text with undefined text_working_copy
During the for loop in get_phrases_in_text, the variable $text_working_copy can be undefined resulting in two warnings at run time. Here is a suggested patch for this issue: https://github.com/atoomic/Text-Extract-MaketextCallPhrases/commit/369d7db1aed708027885202aa56f01430ffe722d Note that I also suggest an alternate fix. The protection might be incomplete. Note that the conext here comes from version 0.93, but same issue with version 0.94 Use of uninitialized value $text_working_copy in substitution (s///) at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/Text/Extract/MaketextCallPhrases.pm line 131, <$fh> line 995. Use of uninitialized value in subtraction (-) at /usr/local/cpanel/3rdparty/perl/524/lib64/perl5/cpanel_lib/Text/Extract/MaketextCallPhrases.pm line 133, <$fh> line 995.
thanks!
On Mon Mar 06 12:09:24 2017, DMUEY wrote: Show quoted text
> thanks!
I'll do it via https://github.com/drmuey/p5-Text-Extract-MaketextCallPhrases FWiW thanks!