http://www.perlmonks.org?node_id=1009643


in reply to Re^4: Problem with ampersand and regex
in thread Problem with ampersand and regex

Add the following to your script:

use Data::Dumper;

...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.


Dave