Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Re: use deprecated;

by halley (Prior)
on Jan 16, 2004 at 16:04 UTC ( #321812=note: print w/ replies, xml ) Need Help??

in reply to Re: use deprecated;
in thread use deprecated;

I wasn't sure if Craft was active anymore, but the whole Monastery is getting pretty catacombish about where to put stuff. I sort of wish it was all just "discussion" or "code." But that's a separate conversation.

There are a thousand ways to flip the big debug() switch, and this is "sorta" the test that I settled on for the library I manage. I wanted the warnings to be invisible for uninitiated end-users, and to be visible to developers who didn't even know that existed. It's a compromise, but it's all in a separate function. It'd be neat if 5.8.2 adopted it (or even just the concept) and they could do whatever they wanted with debug(), but I just wanted to get the thing done.

[ e d @ h a l l e y . c c ]

Comment on Re: Re: use deprecated;
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (13)
As of 2015-10-09 15:20 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (243 votes), past polls