Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Replacing If Elsif Else with Hash

by roboticus (Chancellor)
on Nov 24, 2012 at 14:05 UTC ( #1005376=note: print w/replies, xml ) Need Help??


in reply to Re^2: Replacing If Elsif Else with Hash
in thread Replacing If Elsif Else with Hash

johnfl68:

If everything worked find (i.e. no error messages, etc.) and if failed only because of the addition of the if/else block, then I think I'd suspect one or more of your braces was a line too high or too low, causing the code to be bypassed or some such. Pure speculation, though.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

  • Comment on Re^3: Replacing If Elsif Else with Hash

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1005376]
help
Chatterbox?
[choroba]: It should greatly simplify the parsing code, no flags or additional reading of the next buffer needed
[Corion]: choroba: Yeah, that's why I like that approach; it seems even quite obvious in retrospect to me, but many things are in hindsight ;)

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2016-12-06 15:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (109 votes). Check out past polls.