You're not even limited to positive numbers.yes, as I demonstrated with my example that used -9 :-)
Keep in mind $[ is slated to be removed from Perl.has a2p been considered when making this change?
In reply to Re^5: how internally $#array is working in Perl
by DrHyde
in thread how internally $#array is working in Perl
by kiruthika.bkite
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |