Acme-Don-t
view release on metacpan or search on metacpan
instead of executing the block it controls, it...well...doesn't.
Regardless of the contents of the block, C<don't> returns C<undef>.
You can even write:
don't {
# code here
} while condition();
And, yes, in strict analogy to the semantics of Perl's magical
C<do...while>, the C<don't...while> block is I<unconditionally>
not done once before the test. ;-)
Note that the code in the C<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.
=head1 LIMITATIONS
( run in 1.490 second using v1.01-cache-2.11-cpan-49f99fa48dc )