But be aware that Data::Compare may not necessarily do the right thing in the rare case that you try to compare an object which overloads the stringify or numify operations.use Data::Compare; print "same" if Compare( $ref1, $ref2 );
In reply to Re: How to compare content of two references for equality?
by DrHyde
in thread How to compare content of two references for equality?
by banduwgs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |