Yes. ...Sort of.

=pod
$x = 1;
 ...
$y = 2;
=cut

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 :).

Rob

-----Original Message-----
From: Pfeiffer, Richard [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 01, 2002 11:02 AM
To: '[EMAIL PROTECTED]'
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
symbol?

Thank You!

-Richard



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to