The code was pretty simple.  It was a test case.  So I created three
basic files:

$condition = FALSE;

if ($condition)
{ print "TRUE"; } # condition is never reached

And then I copied and pasted the following 1023 times:

#test 1:
if ($condition)
{ print "TRUE"; } # condition is never reached
#test 2:
elsif ($condition)
{ print "TRUE"; } # condition is never reached
#test 3:
elsif ($condition)
{ print "TRUE"; next; } # condition is never reached

Now this is not actually reflective of the code in my program.  I just
needed a clean, controlled environment to compare different things.

You both make very good points.  Perhaps I should rephrase my question:

I am having a conflict between choosing between readability and
efficiency in a rather large program.  Is the PITA worth going for
efficiency?

-Dan


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to