in reply to Archive::Tar::Streamed Unexpected end-of-file
Actually, You're not closing the file handle correctly.
Your $fh has no ->close method, it should be written as close $fh; instead;
As for the end of file, try running this before closing the file $tar->writeeof;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Archive::Tar::Streamed Unexpected end-of-file
by DanEllison (Scribe) on Jan 28, 2011 at 16:30 UTC | |
|
Re^2: Archive::Tar::Streamed Unexpected end-of-file
by Anonymous Monk on Jan 07, 2011 at 02:46 UTC |