in reply to \U, \E and friends interpolation in regex operators

Hi,

when you store Escaping characters like \U, \E, \u and so on... in a scalar variable, avoid using single quote instead of double quote, because the regex can't recognise the Escaping characters. If you do like $var = '\utext' the regex will interpolate. here is an example. try this:

print my $var = "\utext"; "Text" =~ m/$var/ && print "matches\n";

Regards,
Franklin

Don't put off till tomorrow, what you can do today.