What you are doing is not commenting; you're creating POD documentation. To
comment out lines in Perl, use the # character.

#!/usr/bin/perl -w

print "Hello, world! \n";

# This is a comment where you
# can write about what you're
# doing in a particular block
# so other programmers won't
# be confused by your code.




-----Original Message-----
From: Octavian Rasnita [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 4:40 AM
To: [EMAIL PROTECTED]
Subject: Am I doing something wrong?


Hi all,

I use:

=start;
.....
=cut

I use this statement to comment out more lines.
However, I have seen in Lama Book that there is no block comment in Perl.
I thought this statement is used to comment more lines.

What is this statement used for, and is it something wrong if I use it just
for commenting?

Thank you.

Teddy,
[EMAIL PROTECTED]



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


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.368 / Virus Database: 204 - Release Date: 5/29/2002

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.368 / Virus Database: 204 - Release Date: 5/29/2002


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

Reply via email to