Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Devel-Cover CPAN distribution.

Report information
The Basics
Id: 18176
Status: resolved
Worked: 15 min
Priority: 0/
Queue: Devel-Cover

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

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



Subject: Can't use && or || in expression containing __
The following gets spewed from my code running under ActivePerl build 815 on Windows XP. I don't know what __ is, it's not in my code. # Failed test 'use WWW::Ebay::Session;' # in t/WWW-Search-Ebay-Completed.t at line 13. # Tried to use 'WWW::Ebay::Session'. # Error: Can't use && or || in expression containing __ at C:/perl/lib/Filter/Util/Call.pm line 53 # BEGIN failed--compilation aborted at t/WWW-Search-Ebay-Completed.t line 13. # Compilation failed in require at C:\DOCUMENTS\MARTIN\Modules\WWW- Ebay\blib\lib/WWW/Ebay/Session.pm line 50. # BEGIN failed--compilation aborted at C:\DOCUMENTS\MARTIN\Modules\WWW- Ebay\blib\lib/WWW/Ebay/Session.pm line 50. # Compilation failed in require at (eval 33) [C:/perl/lib/Test/More.pm:670] line 2. # BEGIN failed--compilation aborted at (eval 33) [C:/perl/lib/Test/More.pm:670] line 2. # Failed test 'use WWW::Search::Ebay::Completed;' # in t/WWW-Search-Ebay-Completed.t at line 15. # Tried to use 'WWW::Search::Ebay::Completed'. # Error: WWW::Search::Ebay does not define $WWW::Search::Ebay::VERSION--version check failed at C:\DOCUMENTS\MARTIN\Modules\WWW- Ebay\blib\lib/WWW/Search/Ebay/Completed.pm line 71. # BEGIN failed--compilation aborted at t/WWW-Search-Ebay-Completed.t line 15. # Compilation failed in require at (eval 39) [C:/perl/lib/Test/More.pm:670] line 2. # BEGIN failed--compilation aborted at (eval 39) [C:/perl/lib/Test/More.pm:670] line 2. Use of uninitialized value in pattern match (m//) at C:/perl/site/lib/Devel/Cover.pm line 465. Use of uninitialized value in substitution (s///) at C:/perl/site/lib/Devel/Cover.pm line 466. Use of uninitialized value in exists at C:/perl/site/lib/Devel/Cover.pm line 468. Use of uninitialized value in exists at C:/perl/site/lib/Devel/Cover.pm line 396. Use of uninitialized value in substitution (s///) at C:/perl/site/lib/Devel/Cover.pm line 399. Use of uninitialized value in exists at C:/perl/site/lib/Devel/Cover.pm line 402. Use of uninitialized value in substitution (s///) at C:/perl/site/lib/Devel/Cover.pm line 427. Use of uninitialized value in substitution (s///) at C:/perl/site/lib/Devel/Cover.pm line 429. Use of uninitialized value in hash element at C:/perl/site/lib/Devel/Cover.pm line 430. Use of uninitialized value in pattern match (m//) at C:/perl/site/lib/Devel/Cover.pm line 476. Use of uninitialized value in pattern match (m//) at C:/perl/site/lib/Devel/Cover.pm line 476. Use of uninitialized value in pattern match (m//) at C:/perl/site/lib/Devel/Cover.pm line 476. Use of uninitialized value in pattern match (m//) at C:/perl/site/lib/Devel/Cover.pm line 476. Use of uninitialized value in pattern match (m//) at C:/perl/site/lib/Devel/Cover.pm line 477. Use of uninitialized value in pattern match (m//) at C:/perl/site/lib/Devel/Cover.pm line 477. Use of uninitialized value in pattern match (m//) at C:/perl/site/lib/Devel/Cover.pm line 477. Use of uninitialized value in -e at C:/perl/site/lib/Devel/Cover.pm line 480. Use of uninitialized value in hash element at C:/perl/site/lib/Devel/Cover.pm line 480. Use of uninitialized value in hash element at C:/perl/site/lib/Devel/Cover.pm line 481. Use of uninitialized value in hash element at C:/perl/site/lib/Devel/Cover.pm line 484.
On Tue Mar 14 19:51:45 2006, MTHURN wrote: Show quoted text
> The following gets spewed from my code running under ActivePerl build > 815 on Windows XP. I don't know what __ is, it's not in my code. > > # Failed test 'use WWW::Ebay::Session;' > # in t/WWW-Search-Ebay-Completed.t at line 13. > # Tried to use 'WWW::Ebay::Session'. > # Error: Can't use && or || in expression containing __ at > C:/perl/lib/Filter/Util/Call.pm line 53 > # BEGIN failed--compilation aborted at t/WWW-Search-Ebay-Completed.t > line 13.
Using the search.cpan.org 'grep' tool, I grepped the source code for v0.82 of WWW::Ebay::Session for 'Filter/Util', 'Filter::Util' and, finally, 'Filter' -- and came up empty each time. How is this being called by your code? Are you still encountering this problem when you try to run your tests with Devel::Cover? (If not, we can close the ticket.) Jim Keenan
On Sun Sep 09 20:58:28 2007, JKEENAN wrote: Show quoted text
> > Are you still encountering this problem when you try to run your tests > with Devel::Cover? (If not, we can close the ticket.)
I'm not getting the error any more. You can close this ticket. -- - - Martin 'Kingpin' Thurn
Duly closed without understanding what the problem was or why it went away. Thanks for following up, Jim.