in reply to Formatted Output on glob-filehandles
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Formatted Output on glob-filehandles
by theqblas (Initiate) on Oct 24, 2002 at 20:06 UTC |