in reply to Re: Re: Block commenting
in thread Block commenting

Thanks++ for pointing out that the comment is interpolated. However to fix this, I would simply add single quotes around the COMMENT to prevent the HEREDOC to be interpolated.

use strict; <<'COMMENT' $foo = 'bar'; COMMENT ;