Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Four annoying warnings

by chrestomanci (Priest)
on Dec 11, 2012 at 17:01 UTC ( #1008339=note: print w/replies, xml ) Need Help??


in reply to Re^2: Four annoying warnings
in thread Four annoying warnings

But with strict that already doesn't compile. When you use strict, "once" usually becomes pretty irrelevant.

Mostly yes, but not if you refer to a fully qualified varable from another package. For example, when I am debugging my code, I often put DB::single=1 at various places. Sometime I leave those line in production code inside assert like error checks, as a kind of assert that will only go off when debugging.

I have found that those lines will trigger the "once" warning, which is irritating.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1008339]
help
Chatterbox?
[GotToBTru]: set -o vi works in shell command line, but debugger doesn't recognize backspace or arrow keys

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (14)
As of 2017-07-26 14:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (396 votes). Check out past polls.