<?xml version="1.0" encoding="windows-1252"?>
<node id="561130" title="Re: Multi-line comments in perl code?" created="2006-07-13 22:53:30" updated="2006-07-13 18:53:30">
<type id="11">
note</type>
<author id="131262">
Steve_p</author>
<data>
<field name="doctext">
&lt;p&gt;While pod comments do work, its not especially recommended, and they may be removed in the future.  From perlsyn...&lt;/p&gt;
&lt;code&gt;
 Note that pod translators should look at only paragraphs beginning   
 with a pod directive (it makes parsing easier), whereas the compiler
 actually knows to look for pod escapes even in the middle of a
 paragraph.  This means that the following secret stuff will be 
 ignored by both the compiler and the translators.
    $a=3;
    =secret stuff
     warn "Neither POD nor CODE!?"
    =cut back
    print "got $a\n";
 You probably shouldn't rely upon the warn() being podded out forever.
 Not all pod translators are well-behaved in this regard, and perhaps
 the compiler will become pickier.
&lt;/code&gt;</field>
<field name="root_node">
560924</field>
<field name="parent_node">
560924</field>
</data>
</node>
