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

Re: [ID 20010130.009] block comment

From:
Stephen P. Potter
Date:
January 30, 2001 12:36
Subject:
Re: [ID 20010130.009] block comment
Message ID:
200101302138.QAA23386@spotter.yi.org
Lightning flashed, thunder crashed and Ronald J Kimball <rjk@linguist.thayer.da
rtmouth.edu> whispered:
| 
| 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.

You're not wrong.  The perlpod man page suggests =pod/=cut and =head1/=cut
as the ways to embed pod within scripts.  In fact, it says that =pod "does
nothing beyond telling the compiler to lay off parsing code through the
next =cut".

-spp



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