Your use of join means that the array @a has only one element which is a big long string. Omit the join and you should get a bit farther.
In reply to Re: not able to get last index of array
by hippo
in thread not able to get last index of array
by lakshmikant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |