develooper Front page | perl.perl5.porters | Postings from January 2001

Re: [ID 20010130.009] block comment

From:
Ronald J Kimball
Date:
January 30, 2001 12:24
Subject:
Re: [ID 20010130.009] block comment
Message ID:
20010130152352.A118710@linguist.thayer.dartmouth.edu
On Tue, Jan 30, 2001 at 04:03:26PM -0500, Stephen P. Potter wrote:
> Lightning flashed, thunder crashed and titmas@postal.sps.mot.com whispered:
> | block comments are turned off when the commented field
> | contains
> |   #!/usr/local/bin/perl
> | 
> | Here is an example:
> | 
> | #!/usr/local/bin/perl
> | use strict;
> | print ("Hello World\n");
> | =block comment
> | #!/usr/local/bin/perl
> | $junk = 0;
> | $j2 = 0;
> | =cut
> 
> "=block" is not valid pod.  Even so, it does look like you have uncovered a
> bug, because the =pod/=cut pair, which should work, does the same thing.
> 

Correct me if I'm wrong, but the perl interpreter doesn't know or care what
is valid POD and what isn't.  All it looks for is an equal sign followed by
an identifier.

Ronald



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About