in reply to Re: Recognizing Perl in text
in thread Recognizing Perl in text
I'd say all extracted lines which pass a syntax check with perl -c without error are per definition perl code.Really?
What language is that? It could be perl, but it could also be PHP, and I expect a few other things. What language it is may perhaps be divined from the surrounding lines of code - it's certainly more likely to be perl if the lines before and after also match your rule.$foo=1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Recognizing Perl in text
by LanX (Saint) on Jan 06, 2011 at 12:28 UTC | |
by girarde (Hermit) on Jan 06, 2011 at 20:12 UTC | |
by DrHyde (Prior) on Jan 07, 2011 at 10:27 UTC | |
by LanX (Saint) on Jan 07, 2011 at 14:28 UTC |