Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Better ways to make multi-line comments in Perl?

by tachyon (Chancellor)
on Jul 28, 2001 at 15:07 UTC ( [id://100537]=note: print w/replies, xml ) Need Help??


in reply to Better ways to make multi-line comments in Perl?

If you mean comment out a block of code like you do in C, Javascript etc:

/* All this stuff is commented out Until we get to here: */

Then the only equivalent method in perl is to use pod tokens as demonstrated or a good editior as suggested.

If you really mean a block of comments enclosing it in the simple syntax of pod tags rapidly documents your code and using any of the myriad of POD parsing utilities you can easily extract this into a useful document. For more on POD click here

Cheers

Replies are listed 'Best First'.
Re: Answer: Better ways to make multi-line comments in Perl?
by cLive ;-) (Prior) on Jul 29, 2001 at 13:49 UTC
    what about this?
    <<#; this is a multiline comment #

    cLive ;-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-19 21:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found