Just a note that the ref() check will fail if the array is blessed while using UNIVERSAL::isa() doesn't have this problem (even though it is uglier code). I'll leave the choice of which consideration is more important in this case up to personal preference.
- tye (but my friends call me "Tye")In reply to (tye)Re2: Testing Complex Data Structures
by tye
in thread Testing Complex Data Structures
by epoptai
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |