The regexes actually different if you look really closely.

Debug to STDERR: good point, will do.

Getopt::Long: I hear you. Will investigate.

Brace Style: I whacked "Format Source" in Eclipse and then Exported it as HTML. I prefer 4 spaces, too. I'll have to twiddle Eclipse.

For a program I wrote this morning, whilst getting interrupted, i'm actually quite pleased with it.

Mad props to Kiki, though; without it, regexes of that scale are just nightmarish to compose and test.

Thanks for the comments; I'm always keen to hear from Sensei Ben.