On Mon, 10 Aug 2009 02:15:40 -0400
"Slaven_Rezic via RT" <bug-Parallel-Depend@rt.cpan.org> wrote:
Show quoted text> Mon Aug 10 02:15:38 2009: Request 48572 was acted upon.
> Transaction: Ticket created by SREZIC
> Queue: Parallel-Depend
> Subject: Test failures with perl 5.10.1 (smart match-related?)
> Broken in: 4.09
> Severity: (no value)
> Owner: Nobody
> Requestors: SREZIC@cpan.org
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=48572 >
>
>
> If you look at
>
http://matrix.cpantesters.org/?dist=Parallel-Depend+4.09
> then you see that Parallel-Depend is broken on perl 5.10.1. The error
> messages in the test reports suggest that it's related to smart
> matching (which changed in perl 5.10.1).
Thanks, I've already seen it.
If you look at the error message, it is complaining about
a smart match on an blessed refrences. You have to overload
any smart matches on blessed ref's, which is a huge overhead
for anything used frequently in the code. That or you have
to de-reference it (e.g., $a ~~ %{ $hashref }) everywere
in the base class' code. Change the structure internally
and you get to hack the source code with a new sigil.
This was intended to improve encapsulation.
I've removed all of the smart matches from all of my code --
they are now officially a waste of time. The next chance I
get to upload a version it'll fix 5.10.1 (and 5.11 also).
enjoi
--
Steven Lembark 85-09 90th St.
Workhorse Computing Woodhaven, NY, 11421
lembark@wrkhors.com +1 888 359 3508