in reply to Re^2: zcat pipe gives "gzip: stdout: Broken pipe" error
in thread zcat pipe gives "gzip: stdout: Broken pipe" error
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: zcat pipe gives "gzip: stdout: Broken pipe" error
by Special_K (Pilgrim) on Mar 25, 2025 at 22:00 UTC |