HTML:Parse with forms in tables

Brian Perkins (bperkins@netspace.org)
Sat, 30 Mar 1996 18:09:24 -0500 (EST)


I've been trying to write a script to fill out forms using lib-www.
Everything worked beautifully, until I tried a web form that was embedded in
a table.  The table markup was there, but the < INPUT tags disappear.
I get the same effect with:
GET -o html http://whatever

here's an exerpt of the form:
	<table><tr>
	<td>NetID:</td><td><input type=text name=netID><br></td>
	<td>VMID:</td><td><input type=text name=vmid size=8 maxlength=8><br></td>
</tr>
	<td>Date:</td><td><input type=text name=date value=03/30/96 size=8 maxlength=8><br></td>

and here's what Parse does with it:

      <TABLE>
        <TR>
          <TD>NetID:</TD
          >
          <TD>
            <BR>
          </TD>
          <TD>VMID:</TD
          >
          <TD>
            <BR>
          </TD>
        </TR>
        <TD>Date:</TD
        >
        <TD>
          <BR>
        </TD>

It just seems to chuck the inputs right out.
I tried doing:

$HTML::Parse::IGNORE_UNKNOWN = 0; 

but it warns me that the variable is used only once, and nothing changes.

Any ideas?

-- 

Brian Perkins                               bperkins@netspace.org