This is a shot in the dark, so take it with a grain of salt.
Since you already have the output selected, don't pass it as a parameter to write. Quite possibly, it's being interpreted as an expression that holds a filehandle name rather than a filehandle. In other words, it may be trying to write to a filehandle named HASH(0xabcd) or some such. (That's the normal behaviour of write. Check out perlfunc:write.) If select has succeeded, then just call write with no parameter.
HTH
In reply to Re: Formatted Output on glob-filehandles
by VSarkiss
in thread Formatted Output on glob-filehandles
by theqblas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |