develooper Front page | perl.beginners | Postings from May 2008

Re: Multiline comment in Perl

Thread Previous
From:
John W. Krahn
Date:
May 16, 2008 09:49
Subject:
Re: Multiline comment in Perl
Beau E. Cox wrote:
> On Thu, May 15, 2008 at 11:24 PM, sivasakthi <msivasakthi@gmail.com> wrote:
>>
>> How to comment Multiple lines  in Perl?
> 
> =comment
> like this
> example
> =cut

$ echo "

=comment
like this
example
=cut

" | podchecker
*** ERROR: Unknown command 'comment' at line 3 in file <standard input>
<&STDIN does not contain any pod commands.



John
-- 
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order.                            -- Larry Wall

Thread Previous


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About