|Problems? Is your data what you think it is?|
Re^5: Problem with ampersand and regexby davido (Archbishop)
|on Dec 19, 2012 at 21:48 UTC||Need Help??|
Add the following to your script:
...and then on the line immediately preceding your "for" loop, add, "print Dumper \@array;".
There might be something broken in your input data, and that would be a simple means of identifying (or eliminating) it as a problem.