Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Don't ask to ask, just ask
 
PerlMonks  

Re: Downloading multiple files

by Zoogie (Curate)
on Jun 16, 2000 at 14:21 UTC ( [id://18461]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Downloading multiple files

I think that Corion has the right idea with tar'ing the files together. A simple way to do it without modules or temporary files is to use backticks:
print(`tar cf - $file1 $file2 $file3`);
More info on doing this can be found at a question I asked earlier: Auto-Backup Questions

- Zoogie

Replies are listed 'Best First'.
RE: Re: Downloading multiple files
by lhoward (Vicar) on Jun 16, 2000 at 14:24 UTC
    Or use the Archive::TAR module. Saves you the overhead of launching a tar process.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://18461]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.