Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: What is the easy way to comment out chunk of Perl Code

by philcrow (Priest)
on Nov 18, 2005 at 19:19 UTC ( [id://509911]=note: print w/replies, xml ) Need Help??


in reply to What is the easy way to comment out chunk of Perl Code

Well, usually we just run pounds down the leftmost column so other know for sure the code is out of use. This is facilitated in many editors (both inserting and removing). But if you insist on a short cut that isn't visually distinct through the block try this:
=begin GHOSTCODE ... =end GHOSTCODE =cut
This makes the code invisible to the compiler and to perldoc.

Phil

Replies are listed 'Best First'.
Re2: What is the easy way to comment out chunk of Perl Code
by gasho (Beadle) on Nov 18, 2005 at 19:30 UTC
    Phil ! Thank you very much Gasho

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://509911]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-25 07:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found