Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Welcome to the Monastery
 
PerlMonks  

Re: Block commenting

by duct_tape (Hermit)
on Nov 04, 2003 at 11:29 UTC ( [id://304465]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Block commenting

You can use POD to comment out large blocks.

=begin comment code to comment out goes here.... =cut

Replies are listed 'Best First'.
Re: Block commenting
by Abigail-II (Bishop) on Nov 04, 2003 at 12:10 UTC
    Unless the blocks themselves contain POD. Or a here document or string with \n=cut\s in it.

    Abigail

Re: Re: Block commenting
by sweetblood (Prior) on Nov 04, 2003 at 12:19 UTC
    I believe this is what I've seen ... Thanks!
      I also use POD to comment out blocks of code. I also never leave those blocks in for long (or at least strive not to). One trick i learned from merlyn is to be descriptive with the POD and use something like:
      =for comment blah blah blah =cut
      But you are still going to interfere with any real POD your code contains - which is why i strive to remove unneeded code ASAP and let CVS handle the history (but i still leave phantom code from time out of false laziness).

      jeffa

      L-LL-L--L-LL-L--L-LL-L--
      -R--R-RR-R--R-RR-R--R-RR
      B--B--B--B--B--B--B--B--
      H---H---H---H---H---H---
      (the triplet paradiddle with high-hat)
      

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://304465]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.