Try using lexical filehandles instead of globs.
open my $TIFF2PS, qq("$TIFF2PS_COMMAND" "$tiffpath"|) or confess "Can't run $TIFF2PS_COMMAND"; open my $PSOUT, ">$pspath" or confess "Can't open $pspath for writing!\n";
Also, if your not using shared vars there is no need for threads::shared.
In reply to Re: win32, threads, and filehandles, oh my!!
by BrowserUk
in thread win32, threads, and filehandles, oh my!!
by georgi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |