Probably not (at least not robustly). Perl’s output is not perl. It’s freeform text up to the author who wrote the line(s) of code in question. I doubt there is unity of style over the decades. Might be an interesting project though and with the right tests could result in an error output style guide that could be referenced as a best practice…
In reply to Re: Parsing perl syntax errors
by Your Mother
in thread Parsing perl syntax errors
by hurricup
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |