Appealing to the perl monks...
The following example is something I've struggled with for hours now. The original program uses a large array of regular expressions, and a matching array of text representing formatted output strings some of which may or may not want to use the results from the regex. as the example shows, $1, $2, etc don't seem to be undefined. Any ideas?