FreeBSD.software
Home/devel/p5-Test-BinaryData

p5-Test-BinaryData

0.016devel

Compare two things, give hex dumps if they differ

Sometimes using Test::More's is test isn't good enough. Its diagnostics may make it easy to miss differences between strings. By using is_binary instead of is, the "!" tells us that the lines differ, and we can quickly scan the bytes that make up the line to see which differ. When comparing very long strings, we can stop after we've seen a few differences.

$pkg install p5-Test-BinaryData
metacpan.org/release/Test-BinaryData
Origin
devel/p5-Test-BinaryData
Size
42.8KiB
License
ART10, GPLv1+
Maintainer
sunpoet@FreeBSD.org
Dependencies
1 packages
Required by
0 packages

Dependencies (1)