Yes, but are you loading @array2 with qq or qw? You must use qw if your code is anything like the above.
Try this: add the line print "There are ", scalar(@array2), " elements\n";right after you assign to it, and see if it has as many elements as you think it does.
In reply to Re^5: retrieving in the correct order
by VSarkiss
in thread retrieving in the correct order
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |