Don't ask to ask, just ask | |
PerlMonks |
Re: Commenting out script in Perl like in C++by Abigail-II (Bishop) |
on Jul 26, 2003 at 16:28 UTC ( [id://278111]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|