in reply to Re^2: Problem in sending "tar" files as attachment using MIME::Lite module
in thread Problem in sending "tar" files as attachment using MIME::Lite module
(I haven't tried that myself, but that's what I would try.)use PerlIO::gzip; use Archive::tar; # ... open( my $tarfh, ">:gzip", "my_tarball.tar.gz" ); # ... $tar->write( $tarfh );
UPDATE: (2010-10-18) It seems that PerlIO::gzip should be viewed as superseded by PerlIO::via:gzip. (see PerlIO::gzip or PerlIO::via::gzip).
|
|---|