Here's one that will make your brane hurt ...
If I pass $arrayref to a sub that expects a hashref, how will you tell that it is not what you expect?my $arrayref = [qw(i like pie)]; bless($arrayref, 'HASH');
Dealing with this correctly is on my to-do list for Data::Compare. It will probably involve lots of eval evil.
In reply to Re: Being more Assert-ive with Perl
by DrHyde
in thread Being more Assert-ive with Perl
by stvn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |