http://qs321.pair.com?node_id=278077


in reply to Commenting out script in Perl like in C++

There are probably three approaches to multiline comments that I can think of at the moment.

Hope this helps.

Replies are listed 'Best First'.
Re: Commenting out script in Perl like in C++
by Abigail-II (Bishop) on Jul 26, 2003 at 16:28 UTC
    If you use if (0), there are a few things you should be aware of. First, the code is still complied - so your outcommented code should be valid, otherwise your program won't compile. Second, things that have a compile time effect still happen. This includes, but is not limit to, use, BEGIN, our and subroutine declaration.

    Abigail