Pinto::Role::UserAgent - Something that makes network requests
Mirrors the resource located at
from to the file located at PATH,
if the RESOURCE is newer than the file at PATH.
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 an exception if anything goes wrong.
Mirrors RESOURCE to a file in a temporary directory. The file will have the same basename as the RESOURCE. 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 <email@example.com>
This software is copyright (c) 2013 by Jeffrey Ryan Thalhammer.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.