Next | Welcome to my ~/bin | 14 |
The Perl LWP modules are for writing web clients
They come with some example programs
One of these is GET:
GET http://www.google.com/
This fetches the specified URL and prints it out to standard output
Often someone will hand me some longish URL, and I'll do
GET http://wrt-brooke.syr.edu/courses/205.03/bloom.html > bloom.html
Saving the resulting document to a file is the most common thing I do
The URL part is no problem, because that's just a mouse click to paste it
But retyping the filename is a pain
Hence getstore:
getstore http://wrt-brooke.syr.edu/courses/205.03/bloom.html
Next | Menu | Copyright © 2005 M. J. Dominus |