Is there any reason for this? Without a closure those two subroutines will be exactly the same and do and return the same things in all circumstances. So why should they be different?
UPDATE to your UPDATE: An array is different since you can change values in it. But you can't edit a subroutine "in flight"
In reply to Re: Avoiding reference of sub optimization
by jethro
in thread Avoiding reference of sub optimization
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |