The idea with using $FH instead of FH is to avoid messing with other scope, being affected by other scopes, and to ensure timely garbage collection.
None of those benefits are achieved by using $STDERR instead of STDERR — the variable is global even if you pretend it isn't — so you're needlessly complicating your code. I hope that you will revert to using STDERR now that you figured this parsing puzzle.
In reply to Re: sub STDERR { *STDERR } -- nearly works !
by ikegami
in thread sub STDERR { *STDERR } -- nearly works !
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |