in reply to Grabbing Specific Image
What's nice is that this also respects being re-run, caching the local version and properly passing "if-modified-since" to minimize the work if the file hasn't changed.use LWP::Simple qw(mirror); mirror("http://www.dimages.example.com/image_sample.gif", "local_file. +gif");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Grabbing Specific Image
by Anonymous Monk on May 01, 2007 at 17:08 UTC | |
by merlyn (Sage) on May 01, 2007 at 17:09 UTC | |
by bart (Canon) on May 02, 2007 at 13:48 UTC |