Also, remember that array indices in Perl start at.... 0. On second look, the indexing looks OK. But tracking parallel arrays can get hairy when they need to be updated. jwkrahn's suggestion to use a hash avoids that problem.
In reply to Re: Sub Routine Malfunction
by broomduster
in thread Sub Routine Malfunction
by koolgirl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |