Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Differences CPAN distribution.

Report information
The Basics
Id: 50449
Status: rejected
Priority: 0/
Queue: Test-Differences

People
Owner: Nobody in particular
Requestors: curtis_ovid_poe [...] yahoo.com
Cc:
AdminCc:

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



Subject: Fw: Test::Differences spurious warning
Date: Tue, 13 Oct 2009 07:32:05 -0700 (PDT)
To: bug-test-differences [...] rt.cpan.org
From: Ovid <curtis_ovid_poe [...] yahoo.com>
Subject: Test::Differences spurious warning
Date: Tue, 13 Oct 2009 16:00:31 +0200
To: ovid [...] cpan.org
From: Xavier Caron <xavier.caron [...] atmel.com>
Download (untitled) / with headers
text/plain 544b
Hi, I have a weird use case for which a function returns a HoL for valid input stuff or undef. When I use eq_or_diff I have the following (IMHO spurious) warning: Use of uninitialized value $_ in split at /local/users/flow/PERL/perl-5.10.1/lib/site_perl/5.10.1/Test/Differences.pm line 252. I'm using Perl v5.11.0 on a RHEL52 box. I've fixed the _flatten sub the quick'n'dirty way: return [ ] unless defined; # XC patch return [ split /^/m ] unless ref; Altered code still pass the test suite. HTH. Cheers, X.
Download (untitled) / with headers
text/plain 229b
Hi Xavier, Sorry it's taken me so long to reply to this. I'm clearing out the bug queue and those bugs I can't replicate are being closed. My apologies, but without a test case, I can't evaluate proper responses. Cheers, Ovid


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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