Skip Menu |

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

Report information
The Basics
Id: 11523
Status: resolved
Priority: 0/
Queue: Text-Query

People
Owner: jon [...] endpoint.com
Requestors: paul [...] paularcher.org
Cc:
AdminCc:

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



Subject: prototyping in sub 'factor' in Text::Query::ParseAdvanced
Line 98 of Text::Query::ParseAdvanced is: sub factor($) { But the prototyping causes warnings: shebop:~ # perl -MText::Query::ParseAdvanced -w -e1 Text::Query::ParseAdvanced::factor() called too early to check prototype at /usr/lib/perl5/site_perl/5.8.3/Text/Query/ParseAdvanced.pm line 115. Text::Query::ParseAdvanced::factor() called too early to check prototype at /usr/lib/perl5/site_perl/5.8.3/Text/Query/ParseAdvanced.pm line 123.
Subject: prototyping in sub 'factor' in Text::Query::ParseAdvanced
Line 98 of Text::Query::ParseAdvanced is: sub factor($) { But the prototyping causes warnings: shebop:~ # perl -MText::Query::ParseAdvanced -w -e1 Text::Query::ParseAdvanced::factor() called too early to check prototype at /usr/lib/perl5/site_perl/5.8.3/Text/Query/ParseAdvanced.pm line 115. Text::Query::ParseAdvanced::factor() called too early to check prototype at /usr/lib/perl5/site_perl/5.8.3/Text/Query/ParseAdvanced.pm line 123.
It looks like the same problem is still there running under Perl 5.10.0: PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01default....1/18 Text::Query::ParseAdvanced::factor() called too early to check prototype at /home/rpmbuild-local/rpm/BUILD/Text-Query-0.07/blib/lib/Text/Query/ParseAdvanced.pm line 114. Text::Query::ParseAdvanced::factor() called too early to check prototype at /home/rpmbuild-local/rpm/BUILD/Text-Query-0.07/blib/lib/Text/Query/ParseAdvanced.pm line 122.
Dup of bug #11534
Dup of bug #11523
This is fixed in a new release: http://search.cpan.org/~jonj/Text-Query-0.09/