Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Commenting out script in Perl like in C++

by Abigail-II (Bishop)
on Jul 26, 2003 at 16:28 UTC ( [id://278111]=note: print w/replies, xml ) Need Help??


in reply to Re: Commenting out script in Perl like in C++
in thread Commenting out script in Perl like in C++

If you use if (0), there are a few things you should be aware of. First, the code is still complied - so your outcommented code should be valid, otherwise your program won't compile. Second, things that have a compile time effect still happen. This includes, but is not limit to, use, BEGIN, our and subroutine declaration.

Abigail

  • Comment on Re: Commenting out script in Perl like in C++

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-24 00:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found