in reply to Re: Answer: Better ways to make multi-line comments in Perl?
in thread Better ways to make multi-line comments in Perl?
Actually, either works. Didn't test correctly; used =begin comment ... =cut (which works) rather than =begin comment ... =end comment as AM proposed in Re: Answer: Better ways to make multi-line comments in Perl?. Fingers in gear; brain lagging behind.
I found the =begin/=end format in http://perldoc.perl.org/perlpodspec.html#Pod-Commands\perlpodspec for 5.22 only under the heading "About Data Paragraphs and "=begin/=end" Regions" but ""=begin comment ... =end comment" does not work in AS 5.18.
Granted, I'm mixing apples and ostrich eggs, above, but perlpod for 5.22 also appears (unless I'm misreading it) to suggest that =begin formatname/=end formatname and =for formatname... styles are for specialized cases only (see formatname, and not for run-of-the-mill comments.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Answer: Better ways to make multi-line comments in Perl? (=end =cut)
by Anonymous Monk on Aug 23, 2015 at 22:30 UTC |