in reply to Re: Commenting out script in Perl like in C++
in thread Commenting out script in Perl like in C++

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

  • Comment on Re: Commenting out script in Perl like in C++