start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: max_size Chapter 17
The LWP Library
Next: Reference: no_proxy
 

mirror

 $

ua


->mirror
(

url

, 

file

)

Given a URL and file path, this method copies the contents of url into the file when the length or modification date headers are different from any previous retrieval. If the file does not exist, it is created. This method returns an HTTP::Response object, where the response code indicates what happened.


Previous: Reference: max_size Perl in a Nutshell Next: Reference: no_proxy
Reference: max_size Book Index Reference: no_proxy

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.