develooper Front page | perl.beginners | Postings from February 2002

RE: simple commenting question ...

Thread Previous
Hanson, Robert
February 1, 2002 08:08
RE: simple commenting question ...
Message ID:

Yes. ...Sort of.

$x = 1;
$y = 2;

The =pod and =cut are usually used for documentation but works for
commenting out chunks of code as well.  Currently there are no other
mechanisms (unless you want to put it all in a if(0){} block :).


-----Original Message-----
From: Pfeiffer, Richard []
Sent: Friday, February 01, 2002 11:02 AM
To: ''
Subject: simple commenting question ...

Can I comment an entire block of code with comments at
just the beginning and end of the block instead of having 
to put a # at the beginning of each line?  If so, what is the

Thank You!


To unsubscribe, e-mail:
For additional commands, e-mail:

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About