in reply to Re: Problem in sending "tar" files as attachment using MIME::Lite module
in thread Problem in sending "tar" files as attachment using MIME::Lite module
By using the $tar->write("newpart.tar", 2);, I am getting the error as "Invalid archive directory".my $tar = Archive::Tar->new(); my @filelist = ("txt.del", "txt1.del"); $tar->add_files(@filelist); $tar->write("newpart.tar", 2); my $error = $tar->error(); print "error is $error \n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Problem in sending "tar" files as attachment using MIME::Lite module
by graff (Chancellor) on Dec 20, 2006 at 09:24 UTC | |
|
Re^3: Problem in sending "tar" files as attachment using MIME::Lite module
by derby (Abbot) on Dec 20, 2006 at 12:03 UTC |