Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Distinguishing code from not code

by adamk (Chaplain)
on Jan 01, 2006 at 10:07 UTC ( [id://520222]=note: print w/replies, xml ) Need Help??


in reply to Distinguishing code from not code

This might be a good project for someone to get their feet wet with PPI... Since it can now parse anything, even line noise, you could parse everything in each block and then take the resulting document and apply some heuristics to see whether or not it "looks like" Perl. Would certainly be a little more thorough than doing regex-like ways.

Replies are listed 'Best First'.
Re^2: Distinguishing code from not code
by qbxk (Friar) on Jan 01, 2006 at 15:44 UTC

      You want to look on the CPAN instead of the general web.

      Makeshifts last the longest.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://520222]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-25 15:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found