in reply to Commenting out script in Perl like in C++
=begin comment Code to be outcommented. =end comment
Just make sure that the code you are outcommenting doesn't have a =cut line.
Of course, with any decent editor, putting # at the beginning of each line of a selected block (or removing them) is a piece of cake.
And there's Acme::Comment, which would allow you to use C style comments, but that uses a simple source filter and it could filter out code that only looks like a comment, but isn't.
Abigail
|
|---|