[Israel.pm] Looking for example script

Offer Kaye offer.kaye at gmail.com
Thu May 7 08:05:55 PDT 2009


On Thu, May 7, 2009 at 4:07 PM, Berler Chanan wrote:
>
> But this one doesn't, can anyone tell me why ?

I don't know but Archive::TarGzip hasn't been updated since 2004 so it
is possible you have run into a bug with it...
Here's an example with Archive::Tar (not tested):

sub tar_gz {
    use Archive::Tar;
    Archive::Tar->create_archive(
       './Centerity_Example.tar.gz',
       COMPRESS_GZIP,
       './backup/Centerity_Monitor_Linux_Agent'
     );
}

Cheers,
--
Offer Kaye


More information about the Perl mailing list