I don't leave blanks nor do i use any POD keywords other than the "=cut"
By using the syntax "=comment" and "=cut", I don't want this body of
code to
show up in any POD docs, eg, pod2html or "PerlOasis" stuff.

as far as using "=head", that's good practice, but I always use "=pod"
and then the "=head".

just a 'PS' on thos practice:
I only do this as a temporary comment method, because, just like in any
program language, when you start "grepping" for keywords, you start
looking at dead code ;)



-----Original Message-----
From: Lee Goddard [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 21, 2004 11:25 AM
To: Stuart Arnold
Cc: 'Krasimir_Slaveykov'; [EMAIL PROTECTED]
Subject: Re: comments in script


Stuart Arnold wrote:

>You can use the '=' and '=cut' in the 1st column.  Its part of POD'ing.
>
>I do this quite often:
>=comment
>       blah,blahblah
>=cut
>  
>
Expect you ought to leave a blank line either side of =comment and =cut.

>I also have my editor set up to detect "=comment" and "=cut" as 
>begin/end comment, much like the "C" style /* */
>  
>
I use =head, so all my comments have to be in neat sections.....



_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to