Wouldnt m/[<>]/g literally match <> and not <characters>?
Why wouldnt it be m/[<.+>]/g ? Thanks Birl ----------- Someone correct me if I'm wrong but putting characters inside brackets [] defines a character class. Or a group of characters you want to match on, not necessarily in that order. For instance m/[0-9]/g matches on any single digit number, not "0123456789" -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>