|
|
| Think about Loose Coupling | |
| PerlMonks |
Re^3: zcat pipe gives "gzip: stdout: Broken pipe" errorby choroba (Cardinal) |
| on Mar 25, 2025 at 20:46 UTC ( [id://11164426]=note: print w/replies, xml ) | Need Help?? |
|
> stat is called using a FILEHANDLE or DIRHANDLE, yet the examples on that page all use stat($filename) 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.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||