in reply to Re: Archive::Tar::Streamed Unexpected end-of-file
in thread Archive::Tar::Streamed Unexpected end-of-file

Your $fh has no ->close method, it should be written as close $fh; instead;

Um, yes it does :) otherwise it would die with an error

$ perl -e" STDOUT->close" Can't locate object method "close" via package "IO::Handle" at -e line + 1. $ perl -MIO::File -e" STDOUT->close"