<div dir="ltr">So close.  Seems the form is being done in Javascript which Mech doesn't work with.  Looking into WWW::Scripter next it seems.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 21, 2014 at 11:15 AM, Jay Hannah <span dir="ltr"><<a href="mailto:jay@jays.net" target="_blank">jay@jays.net</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Mar 21, 2014, at 12:11 PM, Robert L. Harris <<a href="mailto:robert.l.harris@gmail.com">robert.l.harris@gmail.com</a>> wrote:<br>


> I need to throw something simple together real quick.  A one-timer that SHOULDN"T be re-used...<br>
><br>
> I need to connect to a site,  http://foo.bar:/8052/Login.html<br>
><br>
> I am then prompted for a login/password.  Once I log in I am given a new page : <a href="http://foo.bar:8052/App.html" target="_blank">http://foo.bar:8052/App.html</a><br>
><br>
> On this page is a search box, amongst other things, I want to put in a value (user filled variable) and post the search.  Then scrape the resulting page for a result.<br>
><br>
><br>
> I have done basic auth using apache auth but this is the app requiring a login using a backend database.  Also I've never filled in a search page like this.<br>
><br>
> Does anyone have a script that might do something similar I can take apart and use as an example?  I need it semi-quick but I can't justify spending more than a day on it.<br>
<br>
</div>Should be easy with WWW::Mechanize:<br>
<br>
   <a href="https://metacpan.org/pod/WWW::Mechanize#SYNOPSIS" target="_blank">https://metacpan.org/pod/WWW::Mechanize#SYNOPSIS</a><br>
<br>
HTH,<br>
<br>
j<br>
<br>
<br>
<br>
<br>
(P.S. Why is the Denver mailing list set to reply to author? Isn't reply to list better?)<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Denver-pm mailing list<br>
<a href="mailto:Denver-pm@pm.org">Denver-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/denver-pm" target="_blank">http://mail.pm.org/mailman/listinfo/denver-pm</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>:wq!<br>---------------------------------------------------------------------------<br>Robert L. Harris<br><br>DISCLAIMER:<br>      These are MY OPINIONS             With Dreams To Be A King,<br>

       ALONE.  I speak for                      First One Should Be A Man<br>       no-one else.                                     - Manowar
</div>