in reply to Re: sub STDERR { *STDERR } -- nearly works !
in thread sub STDERR { *STDERR } -- nearly works !
...not exporting variables...
see http://perldoc.perl.org/Exporter.html, at the end under Good Practices:
"Do not export variable names. Just because Exporter lets you do that, it does not mean you should."
and:
"Exporting variables is not a good idea. They can change under the hood, provoking horrible effects at-a-distance, that are too hard to track and to fix. Trust me: they are not worth it."
This section appears to be new in v5.10.0.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: sub STDERR { *STDERR } -- nearly works !
by ysth (Canon) on Apr 09, 2008 at 08:31 UTC | |
by gone2015 (Deacon) on Apr 09, 2008 at 10:32 UTC |