Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Multi-line comments in perl code?

by Steve_p (Priest)
on Jul 14, 2006 at 02:53 UTC ( #561130=note: print w/ replies, xml ) Need Help??

in reply to Multi-line comments in perl code?

While pod comments do work, its not especially recommended, and they may be removed in the future. From perlsyn...

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.

Comment on Re: Multi-line comments in perl code?
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://561130]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2015-11-25 22:07 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (692 votes), past polls