On Wednesday, August 28, 2002, at 05:36  PM, Ken Ambrose wrote:

> Too darn lazy to fire up the browser?
>
> Then enjoy the below script, for all you command-line guys (and 
> gal(s))...

Nice script.  If you like writing shell scripts to do little jobs like 
this (and there's plenty of ways to leverage this kind of power), you 
might be interested in Perl's LWP module.  [As opposed to c/sh,] Perl 
lets you easily parse the result, too, if you know what to look for.  
(There's a module called HTML::TokeParser if I'm not mistaken that 
makes it easy to parse HTML, better than regexes, but I haven't used it 
yet.)

There is a great intro on oreillynet.com (it is really a plug for the 
new LWP book, but the intro is pretty informative):
http://www.perl.com/pub/a/2002/08/20/perlandlwp.html?page=1



Erik





Erik





--
Erik Price

email: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]

_______________________________________________
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss

Reply via email to