Skip Menu |

This queue is for tickets about the POEx-URI CPAN distribution.

Report information
The Basics
Id: 57740
Status: resolved
Priority: 0/
Queue: POEx-URI

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

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



Subject: POEx::URI objects do not compare as strings
There is a bug in overload.pm prior to 5.12 which causes the "fallback" setting to be reset if a subclass does its own overloading. The upshot is that POEx::URI objects do not compare as strings. See http://rt.perl.org/rt3/Public/Bug/Display.html?id=68196 The work around is to set "fallback => 1" in POEx::URI's own call to overload. Test::More 0.96 will no longer stringify its arguments before comparing, this was considered a bug. Apologies for the inconvenience. This reveals string overloaded objects which do not implement a comparison operator, which is generally an oversight rather than a feature. We recommend you turn on fallback or implement cmp (which eq will fall back to), test with Test::More 0.95_02 and release ASAP. Test::More 0.96 is holding off until all affected modules are informed.
On Fri May 21 20:09:17 2010, MSCHWERN wrote: Show quoted text
> The work around is to set "fallback => 1" in POEx::URI's own call to > overload.
Done.