Code...
#!/usr/bin/perl
use strict; use Archive::Tar;
my $bu = Archive::Tar->create_archive("www.tar",0,glob("/path/to/www/*"));
This only grabs files under www/, it doesn't touch the directories. I am still new to perl and have been looking at the Archive::Tar documentation on Cpan but it doesn't give an example of how this can be accomplished. Any help is appreciated.
Jas
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>