If the $filehandle is associated with a real file, calling stat on it works the same as using the filename directly. But calling stat on a pipe makes no sense, as Perl has no idea what file(s) the command opens and processes.
In reply to Re^3: zcat pipe gives "gzip: stdout: Broken pipe" error
by choroba
in thread zcat pipe gives "gzip: stdout: Broken pipe" error
by Special_K
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |