Contents | Up | Prev | Next |
In Perl every expression is considered true except for the following three cases:
One of the most convenient ways of cancelling code is to wrap it in an if (0) { ... } block. It usually is faster than adding comments to the beginning of each line. Of course, you should not distribute code that way, but it is useful for testing conjectures.
Contents | Up | Prev | Next |
Written by Shlomi Fish