At 11:44 AM 5/1/2002 -0500, Allison Randal wrote: >On Wed, May 01, 2002 at 04:22:29PM +1000, Damian Conway wrote: > > > > NAME > > Acme::Don't - The opposite of `do' > > > > DESCRIPTION > ... > > > > Note that the code in the `don't' block must be syntactically valid > > Perl. This is an important feature: you get the accelerated performance > > of not actually executing the code, without sacrificing the security of > > compile-time syntax checking. > >Um... I know it's scary, but I can actually imagine using this (or >something like this) in development. I'll occasionally work on a section >of code I'm not ready to integrate yet. It would be nice to be able to >syntax check it without uncommenting and re-commenting the whole thing. >:)
Doesn't if(0) do the job? :) -Melvin