Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Test::Deep - weak references are not implemented

by almut (Canon)
on Feb 01, 2008 at 13:40 UTC ( #665564=note: print w/replies, xml ) Need Help??


in reply to Test::Deep - weak references are not implemented

That's kinda strange, as (IIRC) weak refs were introduced with v5.6.0. Also, FWIW, I can't replicate the problem with v5.8.4 (on Linux) with any combination of Scalar::Util 1.13 / 1.19 and Test::Deep 0.096 / 0.100.

Other than that, there's a note in the current Test::Deep CHANGES file:

0.099

Don't explode on perl's that don't have weakrefs. If they're not available, just don't weaken the refs. It means refs can be cached for longer than desirable but it's better than explodiing.
This doesn't fix all of te problems with perl 5.005 but I'm pushing it out because the previous version number upsets CPAN.pm.

IOW, the current version should work (even with perls that truly don't support weak refs...).

  • Comment on Re: Test::Deep - weak references are not implemented

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://665564]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2019-10-23 16:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?