That is what you said, but look at the OP's code, its always return \@array which can never be undef
an empty array is better than undef
In reply to Re^5: More efficient dereferencing of a subroutine return
by Anonymous Monk
in thread More efficient dereferencing of a subroutine return
by gg48gg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |