From: "J. Peng" <[EMAIL PROTECTED]>
> you may consider to use a pod section for commenting out a code block.
> I have used these ways, maybe not good, but they can be used.:)
>
> 1) put the code block in a subroutine,and never call that routine.
> sub no_use {
> code block
> }
>
> 2) assign the code block to a variable, and never use that variable.
> my $no_use = <<'EOF';
> code block
> EOF
You do not have to assign the literal to anything if you don't mind a
warning with warnings turned on.
<<'EOF';
...
EOF
works as well.
I tend to use
=rem
...
=cut
in scripts even though POD translators may complain.
Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/