- COPYRIGHT AND LICENSE
Pinto::Role::FileFetcher - Something that fetches remote files
Fetches the file located at
from to the file located at
to, if the file at
from is newer than the file at
to. If the intervening directories do not exist, they will be created for you. Returns a true value if the file has changed, returns false if it has not changed. Throws and exception if anything goes wrong.
Fetches the file located at the
url to a file in a temporary directory. The file will have the same basename as the
url. Returns a Path::Class::File that points to the new file. Throws and exception if anything goes wrong. Note the temporary directory and all its contents will be deleted when the process terminates.
Jeffrey Ryan Thalhammer <firstname.lastname@example.org>
This software is copyright (c) 2011 by Imaginative Software Systems.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.