Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Style: buried variables or double referencing?

by tomazos (Deacon)
on Aug 22, 2005 at 02:45 UTC ( [id://485601]=note: print w/replies, xml ) Need Help??


in reply to Style: buried variables or double referencing?

And while we are at it how about a...

use Carp::Assert; assert ($some_variable eq 'x' or $some_variable eq 'y') if DEBUG;

...before we enter this piece of code.

-Andrew.


Andrew Tomazos  |  andrew@tomazos.com  |  www.tomazos.com

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://485601]
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: (5)
As of 2024-04-23 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found