in reply to Array bounds checking

If there is not already a module on cpan (which I doubt) you could implement it with Tie::Array .

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 ☆☆☆☆ :)

Replies are listed 'Best First'.
Re^2: Array bounds checking
by davehorsfall (Novice) on Sep 09, 2014 at 21:20 UTC

    Thanks; I'll take a look at it.

    -- Dave