By using isa() you've just allowed your users to bless their arrays before giving them to you.Is that a good thing? You are suddenly going to accept object and depend on its internals. Not touching the internals of foreign objects (what the original code is doing) is IMO a good thing.
Abigail
In reply to Re: Is "ref $date eq 'ARRAY'" wrong?
by Abigail-II
in thread Is "ref $date eq 'ARRAY'" wrong?
by bronto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |