Test::Stream::Compare::Ref - Ref comparison
Used to compare 2 refs in a deep comparison.
my $ref = {}; my $check = Test::Stream::Compare::Ref->new(input => $ref); # Passes is( [$ref], [$check], "The array contains the exact ref we want" ); # Fails, they both may be empty hashes, but we are looking for a specific # reference. is( [{}], [$check], "This will fail");
The source code repository for Test::Stream can be found at http://github.com/Test-More/Test-Stream/.
Copyright 2015 Chad Granum <exodist7@gmail.com>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install Test::Stream, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Stream
CPAN shell
perl -MCPAN -e shell install Test::Stream
For more information on module installation, please visit the detailed CPAN module installation guide.