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


in reply to Re: Multi-line comments in perl code?
in thread Multi-line comments in perl code?

Among other things, POD does not support indentation

Sure it does -- in a Pod format block.

=begin someformat This comment can be indented as much as I want =end someformat =cut

That said, I agree otherwise with your point that Perl doesn't support multi-line comments. Pod can be used for multi-line comments, but Perl and Pod are really two separate languages that can live in the same file. The Perl parser and Pod parsers just choose to pay attention to different languages.

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.