Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

by Perl Mouse (Chaplain)
on Nov 20, 2005 at 17:07 UTC ( [id://510255]=note: print w/replies, xml ) Need Help??


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

The problem with that is that perl is still going to try to compile what's inside the block, so it wouldn't work if you want to outcomment something that doesn't compile, or to outcomment an BEGIN/CHECK/INIT/END block - and it may not work as expected if you outcomment a method that also appears higher up in your inheritance tree.
Perl --((8:>*
  • Comment on Re^2: What is the easy way to comment out chunk of Perl Code

Log In?
Username:
Password:

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

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

    No recent polls found