in reply to Re^2: Silencing specific warnings when executing coderef?
in thread Silencing specific warnings when executing coderef?
Dunno if caller is somehow safely overwritable
Don't join the too-many developers who have made the mistake of trying to replace caller so that they can hide their magic even more. Code behavior should never depend on caller (that is putting the dependency in the wrong order, despite it being a common trick when loading package-impacting modules like Exporter). So caller should be for debugging on some level.
The last thing I want is to be lied to when I'm trying to debug a problem (a task that is often complicated already). So modules that overload caller are simply unacceptable to me.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Silencing specific warnings when executing coderef? (caller)
by LanX (Saint) on Mar 23, 2014 at 19:27 UTC |