in reply to Re: Array regex matching
in thread Array regex matching

I bet you didn't test this. This will leave @values with a set of true/false values, depending whether a carriage return could be removed or not. If you want to use a map, do it like:
map {s/\cM//g} my @values = $q -> param ($key);

Abigail