O.K., but what if you wanted to do this for another non-XML related reason? I solved it by creating a sub that looks for (?g) or (?o) or even (?go) and strips them out and then runs m/blah/g or m/blah/o or m/blah/go -- pretty klunky but it works. Is there a better way?