Overwriting EXTEND () looks like the best approach.
Be warned about the performance loss involved when using tie.
Try searching cpan for other solutions.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
In reply to Re: Array bounds checking
by LanX
in thread Array bounds checking
by davehorsfall
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |