Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Block commenting

by flounder99 (Friar)
on Nov 04, 2003 at 17:55 UTC ( [id://304490]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Block commenting
in thread Block commenting

use strict; use warnings; <<'COMMENT'; $foo = 'bar'; COMMENT
Will avoid the interpolation. But you will still get
Useless use of a constant in void context at temp.pl line 3.
To avoid that you can do:
use strict; use warnings; { no warnings; <<'COMMENT'; $foo = 'bar'; COMMENT }
But that is a lot of work.

--

flounder

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (8)
As of 2024-04-19 14:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found