|Perl Monk, Perl Meditation|
Re^2: Redefining Imported Subs: of scope and noby LanX (Chancellor)
|on Feb 09, 2013 at 14:37 UTC||Need Help??|
You're confusing me!
Why do you always seem to ask me if you reply to someone else?
Please don't be surprised if I'm not replying.
And please don't simply change your posts after being proofed wrong in a reply.
> Where's the ability to flip the real say() back on?
Just swap no with use!
feature should be scoped (in this example file scoped), which makes much sense when debugging!
Otherwise the OP could (like already shown) do "use if" for testing a global constant like main::VERBOSE spreading all files.
Anyway manipulating say for debugging purpose is such a broken idea that I don't wanna invest more into this discussion... :)