in reply to Rename/mkdir with File::Fetch

Perhaps given the previous thread and this one, File::Fetch is not the most appropriate module for your particular task. There are many other modules on CPAN to help with downloading of files. You probably already have LWP installed so you could use LWP::Simple::getstore which accepts both a URL to fetch and a local filename to store it in.


🦛

Replies are listed 'Best First'.
Re^2: Rename/mkdir with File::Fetch
by justin423 (Scribe) on Aug 10, 2022 at 16:53 UTC
    thanks for the suggestion. Let me try that. The mkdir works as well, so I can try out both ways and see which one I like better.