Skip navigation.
Home
Your source for Perl tips, howto's, faq and tutorials
( categories: )

Perl, by default, does not have any specific tokens to specify multiline comments. Nevertheless, there are several workarounds to accomplish this; the easiest is to use the POD system, enclosing the comments between '=for' and '=cut'.

Example:

=for multiline_comment
 
This is
a
multiline
comment
 
=cut