in reply to Tar GZip Question
Now on top of that the call to tar will extract the contents of the tarball in the present working directory. I do not know what functionality Archive::Tar will give, but I can almost guarantee that it will allow you to extract the contents to another directory. If not, you'll need play with your ENV hash, and alter the PWD key. There may be a more perlish way to do that, I'm not sure.my $tarball = "katt0$number.tar.gz"; rename("$tarball", "../html/img/$tarball");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tar GZip Question
by Aristotle (Chancellor) on Oct 30, 2002 at 12:42 UTC | |
by l2kashe (Deacon) on Oct 30, 2002 at 20:11 UTC | |
by Aristotle (Chancellor) on Oct 30, 2002 at 21:39 UTC |