Two mistakes fixed. One mistake is kind of forgiveable, because I wasn't familiar enough with the code (setting the line and file to undef when the debugger doesn't mention them), the other one, I'm a bit embarrassed about (beginner mistake: using a $1 value without checking if the regex match succeeded).
Two mistakes fixed. One mistake is kind of forgiveable, because I wasn't familiar enough with the code (setting the line and file to undef when the debugger doesn't mention them), the other one, I'm a bit embarrassed about (beginner mistake: using a $1 value without checking if the regex match succeeded).