Re: Fwd: [EMAIL PROTECTED]: Re: fixing is_deeply]

2005-07-05 Thread Fergal Daly
On 7/4/05, Andrew Pimlott [EMAIL PROTECTED] wrote: On Mon, Jul 04, 2005 at 12:36:29AM +0200, demerphq wrote: On 7/3/05, Andrew Pimlott [EMAIL PROTECTED] wrote: Would using my $s = sub { $a-[0] = 1; $_[0]; } above also be looking at refaddrs? No. But it wouldnt be symmetric

Re: 5.004_xx in the wild?

2005-07-05 Thread Adam Kennedy
I've just been through the should-I-shouldn't-I-support-5.4 with my (painfully slow) rewrite of Compress::Zlib. In the end I included limited support for 5.004 because I could, plus I have no feel for how much pain I would cause folk if I didn't. If anyone cares about this enough to do

[ANNOUNCE] Test::Tester 0.102

2005-07-05 Thread Fergal Daly
Fix a problem with the easy way of doing things. Warn if Test::Tester isn't the first Test::Builder module loaded as this can cause problems when doing things the easy way.

Re: 5.004_xx in the wild?

2005-07-05 Thread Michael G Schwern
On Tue, Jul 05, 2005 at 12:37:28PM +1000, Adam Kennedy wrote: If anyone cares about this enough to do something about it, I've previously outlined a scheme for supporting statistics in CPAN in a way that covers all the bases (including #perl picking it apart for about a day). The problem

Re: Fwd: [EMAIL PROTECTED]: Re: fixing is_deeply]

2005-07-05 Thread demerphq
(apologies about the slow follow up) On 7/4/05, Andrew Pimlott [EMAIL PROTECTED] wrote: On Mon, Jul 04, 2005 at 12:36:29AM +0200, demerphq wrote: On 7/3/05, Andrew Pimlott [EMAIL PROTECTED] wrote: Would using my $s = sub { $a-[0] = 1; $_[0]; } above also be looking at

Re: 5.004_xx in the wild?

2005-07-05 Thread David Landgren
Michael G Schwern wrote: [...] That said, here's the main differences: * No qr//. Even if you target 5.5.4 qr// still has lots of bugs. [...] Once you go through the initial pain of backporting its not too big a deal to keep things working as long as you're not doing XS. qr// is the only

Re: 5.004_xx in the wild?

2005-07-05 Thread Michael G Schwern
On Tue, Jul 05, 2005 at 10:59:53AM +0200, David Landgren wrote: I like to use constant when I can, but the further you go back in time the more brain-damaged it becomes. I think in 5.005 it only knows about scalars. No hashrefs or arrayrefs allowed. I find this is a bit of a bugger to work

Re: 5.004_xx in the wild?

2005-07-05 Thread Adam Kennedy
As someone whose production code is currently required to run under 5.5.3, I'm very grateful to module authors whose code still runs under that version at least. A number of modules which don't run under 5.5.3 do with simple changes, primarily changing our to use vars and getting rid of x.y.z

RE: what slow could be in Compress::Zlib? (was RE: 5.004_xx in the wild?)

2005-07-05 Thread Paul Marquess
From: Yitzchak Scott-Thoennes [mailto:[EMAIL PROTECTED] On Mon, Jul 04, 2005 at 02:19:16PM +0100, Paul Marquess wrote: Whilst I'm here, when I do get around to posting a beta on CPAN, I'd prefer it doesn't get used in anger until it has bedded-in. If I give the module a version number

Re: [ANNOUNCE] Test::Symlink

2005-07-05 Thread Nik Clayton
Ivorw wrote: I have a concern on this relating to portability. How will the module behave on platforms that don't have symlinks? In theory symlink_ok() will automatically skip any tests that it's asked to do if symlinks aren't supported. Since I don't have systems that I can test it on

Re: Fwd: [EMAIL PROTECTED]: Re: fixing is_deeply]

2005-07-05 Thread Fergal Daly
On 7/5/05, Andrew Pimlott [EMAIL PROTECTED] wrote: On Tue, Jul 05, 2005 at 01:24:38AM +0100, Fergal Daly wrote: There's an easy way to see what's accptable and what's not and what exactly this level equality means. Consider the following code template: ### # lots of stuff doing

Re: [ANNOUNCE] Test::Symlink

2005-07-05 Thread Michael G Schwern
Ni[kt] picking comments: There's no example code in the SYNOPSIS. Your example code which uses Test::Symlink should show how to set up the plan. Namely: use Test::Symlink tests = 2; I think not verifying that the destination exists is a mistake as probably the biggest issue with symlinks is

Re: How to get started with Test::TAP::HTMLMatrix

2005-07-05 Thread Chris Hutchinson
I'd like to use Test::TAP::HTMLMatrix to better visualize the state of large test runs. However, I can't tell from the docs how to run the test suite such that it gets involved in the process. Could someone provide an example? Thanks! Mark For what it's worth, I wrote a

Re: Fwd: [EMAIL PROTECTED]: Re: fixing is_deeply]

2005-07-05 Thread Andrew Pimlott
On Tue, Jul 05, 2005 at 10:15:16AM +0200, demerphq wrote: (apologies about the slow follow up) not slow in my book :-) On 7/4/05, Andrew Pimlott [EMAIL PROTECTED] wrote: On Mon, Jul 04, 2005 at 12:36:29AM +0200, demerphq wrote: On 7/3/05, Andrew Pimlott [EMAIL PROTECTED] wrote: Would

Re: Fwd: [EMAIL PROTECTED]: Re: fixing is_deeply]

2005-07-05 Thread Andrew Pimlott
On Wed, Jul 06, 2005 at 12:10:43AM +0100, Fergal Daly wrote: On 7/5/05, Andrew Pimlott [EMAIL PROTECTED] wrote: my $x = []; sub one_way = { $x } sub another_way = { [] } sub test = { $_[0] == $x } I don't think this breaks your rules, but see below. You're right, I messed that up