>Now, there's a great feature. If you index before the beginning of an
>array, it neither gives you a runtime error nor returns undef. What a

Yes, it is a great feature. From the book "Learning Perl", it states "a 
negative subscript on an array counts back from the end".

If you are expecting the array index to begin at 0, then do some bounds 
checking on your "complicated function" so that it does not return out of scope 
arguments to your Perl functions.

Barry Brevik
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to