in reply to Quick question about pattern matching uppercase letters

don't you want:
$myfile =~ s/([A-Z]+)/\$1\<\/i\>/g;
Note the [] around the character classes. You were mathing a captal A followed by a dash, followed by 1 or more capital Z's.
UPDATE: I just noticed that you were missing the code tags and that you may have put the [] in. In that case, ignore my response.


-pete
"Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."