Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by arhuman (Vicar)
on Jul 27, 2001 at 20:01 UTC ( [id://100346]=note: print w/replies, xml ) Need Help??


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

A good way is to use the POD system:
=pod die "testing"; =cut =for comment die "testing"; =cut

Also note - any decent code editor should enable you to throw a # in front of a selected set of lines very easily.

Replies are listed 'Best First'.
Re: Answer: Better ways to make multi-line comments in Perl?
by Anonymous Monk on Jan 12, 2011 at 06:38 UTC

    hi,

    when we use
    =for comment Commented text =cut
    we can make a block of statements in comment line.Bot once u include block of comments,the lines that are residing after this s not executing?wat to do for that?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-19 04:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found