Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Avoiding Greenspun's Rule; scripting within Perl

by jandrew (Hermit)
on Mar 21, 2012 at 04:18 UTC ( #960715=note: print w/ replies, xml ) Need Help??


in reply to Avoiding Greenspun's Rule; scripting within Perl

At the risk of oversimplifying your issue it may be that you can solve your if-then-else parsing with dispatch tables. If this is a new concept then give it a once over. The main link is here. The Author is Mark Jason Dominus++

If what you were really looking for is very open ended parsing of potentially diverse inputs this may not be the answer, but as Robert Morris implied even codeing in Common Lisp is suceptable to Greenspun's 10th rule.

As a consequence the solution may be a partial abstraction of input handling (dispatch tables) in combination with putting boundaries on the scope of the input.


Comment on Re: Avoiding Greenspun's Rule; scripting within Perl

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2014-10-02 03:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (45 votes), past polls