Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Multi-line comments in perl code?

by xdg (Monsignor)
on Jul 13, 2006 at 13:28 UTC ( #560952=note: print w/replies, xml ) Need Help??


in reply to Re: Multi-line comments in perl code?
in thread Multi-line comments in perl code?

Even though the Perl parser sees that as Pod and ignores it, it's important to advise people that it's not proper Pod and may behave unexpectedly with some Pod parsers now or in the future. For a single paragraph (no blank lines), a Pod =for directive would work as well (though with slightly more to type.)

=for comment A hash named $requestParams is created containing all the data needed for the http transaction. This data is then stored in $self->RequestParams, and no further data is needed. =cut

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Replies are listed 'Best First'.
Re^3: Multi-line comments in perl code?
by Anonymous Monk on Nov 12, 2014 at 06:12 UTC
    Thanks a ton :) I am a beginner in Perl and i use a lot of comments while learning how to use Perl.It was easy in java to add comments. But in Perl i didn't know how to add multi-lined comments. Thanks again!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2020-08-14 15:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (76 votes). Check out past polls.

    Notices?