Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Matching first Perl statement.

by Beatnik (Parson)
on Jan 15, 2002 at 02:45 UTC ( [id://138747]=note: print w/replies, xml ) Need Help??


in reply to Matching first Perl statement.

I hate to be a nitpicker... but for example
while(1) { for(1..10) { print "foo" } print "\n" }
is valid perl code, yet fails to comply to basic rules on how statements should look like. Well ok, I cheated a bit, but it wasn't all THAT hard :)
People have been praying for years that Damian Conway would write a perl parser in perl.... It seems to me that this would be the only, foolproof way to solve your problem.
Ofcourse I could be mistaking... after all, there is more than one way to do it :)

Greetz
Beatnik
... Quidquid perl dictum sit, altum viditur.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-26 00:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found