[ale] One for the Perl guru's

Robert L. Harris Robert.L.Harris at rdlg.net
Mon Jun 30 19:41:19 EDT 2003



  Ok, I'm working on re-writing my perl comics generator
(http://www.rdlg.net/comics.html).  One piece I'm trying to improve upon
pulls the "options" out of a web page.  The source looks something like
this:

<select NAME="selectMenu" onChange="loadPage(this)" STYLE="font:12px">
<font CLASS="dropdown">
<option>Select a feature</option>
<option VALUE="/comics/chickweed/index.html">9 Chickweed Lane</option>
<option VALUE="/creators/agnes/index.html">Agnes</option>
<option VALUE="/comics/alleyoop/index.html">Alley Oop</option>
.
.
.

  I'm digging through the man page for HTML::Parser but wondering if there
might be a better way to do this I don't know about.  Any suggestions on
a clean way to rip this out without just grabbing the page, grepping,
etc would be welcome as well (that's how the old way did it)...

Robert


:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | GPG Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu 
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.

Diagnosis: witzelsucht  	

IPv6 = robert at ipv6.rdlg.net	http://ipv6.rdlg.net
IPv4 = robert at mail.rdlg.net	http://www.rdlg.net

 PGP signature




More information about the Ale mailing list