Pinto:...rAgent(3pm)
π Pinto::Role::UserAgent π
the manual name is Pinto:...rAgent(3pm) and it lives in the User Contributed Perl Documentation section, bestie. periodt. β¨
πΈ NAME πΈ
Pinto::Role::UserAgent β it's literally the thing that makes network requests. no cap. π¦
π VERSION π
version 0.14 π
β¨ METHODS β¨
okay so here's the actual tea, the two methods you get. sip slowly. π
π§ mirror(RESOURCE => PATH)
Mirrors the resource located at "from" to the file located at PATH β but only if the RESOURCE is newer than the file at PATH. like, it's not gonna waste its time on something stale, she has standards. π
If the intervening directories don't exist? bestie, she will create them for you. no questions, she just does it. π«Ά
Returns a true value if the file has changed, returns false if it has not changed. Throws an exception if anything goes wrong. and by "anything" I mean anything, she does not do quiet failures. π
The RESOURCE can be either a URI or Path::Class::File object, or a string that represents either of those. The PATH can be a Path::Class::File object or a string that represents one. so flexible of her honestly. π
π¦ mirror_temporary(RESOURCE)
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. π
π¨ IMPORTANT BESTIE π¨ Note the temporary directory and all its contents will be deleted when the process terminates. like, gone gone. do not build your whole life around that file. π
π AUTHOR π
Jeffrey Ryan Thalhammer <jeff@stratopan.com> β iconic, we love a legend. π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2015 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. πͺ slay. β¨
and that's the whole vibe check, bestie β this page was rendered with perl v5.40.1 on 2025-04-21, and it's filed under Pinto:...rAgent(3pm). go forth and mirror things responsibly. mwah. π
π
π¦ where this page comes from
- debian trixie: pinto 0.14000-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: pinto 0.14000-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms