That was intentional. It definitely won't work without the asterisk because the module expects a glob, not a reference to one.
>perl -le"open(my $fh,'>','foo'); print( (ref(\$fh) eq 'GLOB') ?1:0)" 0
That needs to be 1 or that module will stringify the handle.
In reply to Re^4: Problems with Filehandles and TeeOutput
by ikegami
in thread Problems with Filehandles and TeeOutput
by hkpatv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |