Barrie, you need to declare your prereq on Text::Diff.
On Fri, Dec 14, 2001 at 02:12:29PM +0900, Tatsuhiko Miyagawa wrote:
> Well, why not globally overrides Test::More's is, is_deeply etc?
You change the semantics of is() by doing that, potentially causing
confusion.
$a = [qw(a b c)];
$b = [qw(a b c)];
is( $a, $b );
In Test::More, that test fails. If you replace it eq_or_diff() it
passes. is_deeply() could probably be replaced, though. However, I
don't see much benefit.
> BTW, here's a patch for backward compat with 5.5.3, and removes
> dump for your debug :)
>
> --- Differences.pm~ Fri Dec 14 05:39:30 2001
> +++ Differences.pm Fri Dec 14 14:09:02 2001
> @@ -146,7 +146,7 @@
> $_ =~ s/\r/\\r/g ;
> $_ =~ s/\t/\\t/g ;
> $_ =~ s{
> - ([^[:print:]])
> + ([^[\040-\377\r\n]])
The [:print:] character classes are somewhat broken in anything less
than 5.7, IIRC.
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2001-11/msg01087.html
--
Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/
Perl Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One
Now I fight for wisdom.
http://sluggy.com/d/010204.html