in reply to comment sections
s there a way to have perl ignore a big section without having to put comments in front of every row?Stricly speaking, no, as # is the only of creating comments (natively) in perl. However you can use POD to comment out large sections like so
However that won't work if you've got POD in the code inbetween. Another option is to use heredocsuse strict; =pod ... =cut exit 0;
And finally there's always a CPAN module to do the job - Acme::Comment.use strict; <<'IGNORETHIS'; ... IGNORETHIS exit 0;
_________
broquaint
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: comment sections
by Abigail-II (Bishop) on Apr 15, 2003 at 09:28 UTC | |
|
Re: Re: comment sections
by demerphq (Chancellor) on Apr 15, 2003 at 10:12 UTC |