Jay,

2008/11/12 Jay Savage <[EMAIL PROTECTED]>:
> It's not rally as simple as it sounds:

Well explained, thanks.  The metrics helped.

> This is why you will often see 'use constant
> DEBUG = 0' at the beginning of programs. That way debug code switched
> as 'if (DEBUG) {...}' is never even compiled unless the program is in
> debug mode. In a long, complex program, saving perhaps 1,000+ tests
> can be a worthwhile optimization.

Hadn't begun to think about DEBUG, yet.  I'll keep this in mind.

> In my experience, though, the convenience of interpolation wins out
> 99% of the time.

Leaning the same way the more I read.

> ... compared to the runtime of the external system call.

That's my case, and a good point.

Thanks.

--JC

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to