in reply to Re^2: Answer: Better ways to make multi-line comments in Perl?
in thread Better ways to make multi-line comments in Perl?

I see what you mean, =end doesn't signal to perl "pod over, perl code starts again", =cut does that, so it would have to be =begin comment ... =end comment\n=cut

Using  =for multiblock comment has the unwanted side-effect of showing up if you use perldoc/pod2html...

=pod/=cut has the same side-effect but that version is labeled quick/dirty

If the intention is for #comments that aren't part of the documentation, =for comment multiline doesn't quite work for that purpose

  • Comment on Re^3: Answer: Better ways to make multi-line comments in Perl? (=end =cut)
  • Download Code