I think that's because inlining rejects dynamic values, you'd need to always return the same array ref, which of course contradicts your intention.
But your idea still works if you don't care about the speed benefit of inlining.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
In reply to Re^2: constant vector
by LanX
in thread constant vector
by wbirkett
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |