Re: Multiline comment in Perl

[email protected] ("John W. Krahn")
Newsgroups perl.beginners
Message-ID <[email protected]>
Beau E. Cox wrote:
> On Thu, May 15, 2008 at 11:24 PM, sivasakthi <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.