...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.
In reply to Re^2: sub STDERR { *STDERR } -- nearly works !
by gone2015
in thread sub STDERR { *STDERR } -- nearly works !
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |