On Sat, 04 Oct 2008 19:21:48 +0300, Damyan Ivanov writes: >Alexander, can you check if the approach below is feasibble?
sorry for the late response. no idea regarding feasibility, i'm not using 5.10 yet. >It would >also be good if you can reply to Fergal's mail[1] > > [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D419637#14 fergal asked for a minimal code example, and here it is. ---notequal.pm-- package notequal; use Test::Deep::NoTest; use strict; sub dud { my @a=(qw(this is not a test)); my @b=(qw(and neither is that)); print "these are not equal, are they? ".eq_deeply([EMAIL PROTECTED],[EMAIL PROTECTED])."\n"; } 1; --untestable use notequal; use strict; use Test::Deep; use Test::More qw(no_plan); cmp_deeply(undef,¬equal::dud); notequal.pm uses test::deep::notest, and can't be tested using test::deep: 'Can't call method "ok" on an undefined value at /usr/share/perl5/Test/Deep.pm line 113.' regards az -- + Alexander Zangerl + DSA 42BD645D + (RSA 5B586291) I have the diesel-powered Plonkulator warmed up. -- rone
signature.asc
Description: Digital Signature

