Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Email-Address CPAN distribution.

Report information
The Basics
Id: 23565
Status: resolved
Priority: 0/
Queue: Email-Address

People
Owner: Nobody in particular
Requestors: sabol [...] alderaan.gsfc.nasa.gov
Cc:
AdminCc:

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



Subject: as_string test failures with perl 5.8.0
Date: Thu, 23 Nov 2006 02:22:05 -0500
To: bug-Email-Address [...] rt.cpan.org
From: "Edward J. Sabol" <sabol [...] alderaan.gsfc.nasa.gov>
Perl 5.8.0 doesn't seem to like the "goto $_[0]->can($STRINGIFY);" in as_string() in Email::Address version 1.882. If I change that line to "return $_[0]->format;", all tests pass.... Show quoted text
> make test
PERL_DL_NONLAZY=1 /software/usr/contrib/linux/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/cache-cow.......ok t/pod-coverage....ok t/pod.............ok t/tests...........ok 3/1101Can't find label REF(0x824d3a4) at /software/usr/contrib/src/cpan/build/Email-Address-1.882/blib/lib/Email/Address.pm line 459. # Looks like you planned 1101 tests but only ran 3. # Looks like your test died just after 3. t/tests...........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 4-1101 Failed 1098/1101 tests, 0.27% okay Failed Test Stat Wstat Total Fail Failed List of Failed -------------------------------------------------------------------------------------------------------- t/tests.t 255 65280 1101 1098 99.73% 4-1101 Failed 1/4 test scripts, 75.00% okay. 1098/1111 subtests failed, 1.17% okay. make: *** [test_dynamic] Error 2 Show quoted text
> perl -v
This is perl, v5.8.0 built for i686-linux-64int-ld
On Thu Nov 23 02:22:25 2006, sabol@alderaan.gsfc.nasa.gov wrote: Show quoted text
> Perl 5.8.0 doesn't seem to like the "goto $_[0]->can($STRINGIFY);" in > as_string() in Email::Address version 1.882. If I change that line to > "return $_[0]->format;", all tests pass....
What if you change that line to: $_[0]->can($STRINGIFY)->($_[0]) ? Thanks!
I got a working 5.8.0 test install and verified that this is fixed in 1.883 -- rjbs