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
_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl

Reply via email to