in reply to Storing data in a directory hierarchy

Check out the mkpath function in File::Path to create a hierarchy of directories without having to use loops.
Also, you could probably use LWP::Simple's getstore or mirror to save the file.

snowcrash
  • Comment on Re: Storing data in a directory hierarchy