good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Distinguishing code from not codeby adrianh (Chancellor) |
on Dec 31, 2005 at 15:58 UTC ( [id://520159]=note: print w/replies, xml ) | Need Help?? |
So, is there any way to determine whether a block of code is Perl code or not-code, or should I try something else? POD doesn't define C<> and verbatim paragraphs as having to contain perl code so using them for program output, etc. is perfectly acceptable. This means you're going to have to come up with some heuristics to guess whether something is/isn't perl - but that's not going to be 100% whatever you do I'm afraid.
In Section
Seekers of Perl Wisdom
|
|