Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Downloading multiple files

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


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


Comment on Re: Downloading multiple files
Download Code
Replies are listed 'Best First'.
RE: Re: Downloading multiple files
by lhoward (Vicar) on Jun 16, 2000 at 18: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
Node Status?
node history
Node Type: note [id://18461]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (15)
As of 2015-07-31 14:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (278 votes), past polls