in reply to index wrapping in tied FETCH and EXISTS
If I am doing some kind of subscript computation and my subscript happens to go negative, I want to know about it (by receiving undef) NOWHow about
my $i = ... some calculation ... if ( $i >= 0 ) { $val = $tiedArray[$i]; } else { # report the problem! }
|
|---|