in reply to Re^2: Recognizing Perl in text
in thread Recognizing Perl in text
Multiline code in POD has only one markup: indentation!
Generated man pages mirror this.
HTML and PDF additionally flag code with a dedicated style/font.
So style and indentation are IMHO the by far best criteria for your scoring technique.
And LaTeX ...You want to parse LaTeX-Code? Seriously?
Cheers Rolf
|
|---|