A little explanation. The "=for x" directive says that only a processor that's formatting for the x output type should heed what's in the following block. For instance, you could say "=for html" and then put some html markup in the block and it should be rendered only by programs seeking to render html. The nice thing about "=for comment" is that no one will be outputting a "comment" format...:-).=for comment #your commented code goes here =cut
thor
Feel the white light, the light within
Be your own disciple, fan the sparks of will
For all of us waiting, your kingdom will come
In reply to Re: What is the easy way to comment out chunk of Perl Code
by thor
in thread What is the easy way to comment out chunk of Perl Code
by gasho
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |