On 10/12/05, Alfie John <[EMAIL PROTECTED]> wrote:
> On 12/10/2005, at 3:33 PM, Luke Palmer wrote:
> > =begin comment
> > =end comment
>
> But does that then break my lovely formatted pod like it does in Perl5?

Try this:

% cat > dosomething.pl
=head1 TITLE

Thingy - do something

=head1 DESCRIPTION

=over

=item * do_something()

does something

=cut

=begin comment

Commented out code.

=end comment

=cut

=item * do_something_else()

does something different from C<do_something>.

=back

=cut
^D

% perldoc dosomething.pl

# note the lack of the string "Commented out code"

So it worked in Perl 5, too.  It was just kind of a pain because you
had to put a "=cut" after the "=end", and because you had to put
paragraph spaces between everything.  We're getting rid of both of
those restrictions.

Luke

Reply via email to