Hey guys,<br>
<br>
I'm using the cpan version - HTTP::Recorder 0.05 with the following code:<br>
<br>
 &nbsp; &nbsp;#!/usr/bin/perl<br>
<br>
 &nbsp; &nbsp;use HTTP::Proxy;<br>
 &nbsp; &nbsp;use HTTP::Recorder;<br>
 &nbsp; &nbsp;use URI::QueryParam;<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;# we're adding this to enable<br>
login pages as according<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;# solutions at:<br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.spanner.org/lists/osxperl/2005/08/22/905b481c.html" target="_blank">http://www.spanner.org/lists/osxperl/2005/08/22/905b481c.html</a><br>
<br>
 &nbsp; &nbsp;my $proxy = HTTP::Proxy-&gt;new();<br>
<br>
 &nbsp; &nbsp;# create a new HTTP::Recorder object<br>
 &nbsp; &nbsp;my $agent = new HTTP::Recorder;<br>
<br>
 &nbsp; &nbsp;# set the log file (optional)<br>
 &nbsp; &nbsp;$agent-&gt;file(&quot;/tmp/proxy&quot;);<br>
<br>
 &nbsp; &nbsp;# set HTTP::Recorder as the agent for the proxy<br>
 &nbsp; &nbsp;$proxy-&gt;agent( $agent );<br>
<br>
 &nbsp; &nbsp;# start the proxy<br>
 &nbsp; &nbsp;$proxy-&gt;start();<br>
<br>
 &nbsp; &nbsp;1;<br>
<br>
<br>
<br>
when I try to login to a website which is (i assume) java enabled,<br>
HTTP::Recorder stumbles upon some<br>
errors or missing some libraries maybe.<br>
<br>
Here's the output:<br>
<br>
Use of uninitialized value in substitution (s///) at<br>
/usr/local/share/perl/5.8.4
<div id="mb_0">/HTTP/Recorder/Logger.pm line 171.<br>Use of uninitialized value in concatenation (.) or string at<br>/usr/local/share/perl/5.8.4/HTTP/Recorder/Logger.pm line 173.<br>Can't locate object method &quot;query_param&quot; via package
<br>&quot;rec-action=submitform&amp;rec-formname=p&amp;rec-formnumber=1&amp;rec-form1-unknown-userName=1&amp;userName=colloron&amp;rec-form1-password-password=1&amp;password=t040682&amp;rec-form1-unknown-language=1&amp;language=&amp;rec-form1-image-refresh=1&amp;refresh.x=113&amp;refresh.y=9&quot;
<br>(perhaps you forgot to load<br>&quot;rec-action=submitform&amp;rec-formname=p&amp;rec-formnumber=1&amp;rec-form1-unknown-userName=1&amp;userName=colloron&amp;rec-form1-password-password=1&amp;password=t040682&amp;rec-form1-unknown-language=1&amp;language=&amp;rec-form1-image-refresh=1&amp;refresh.x=113&amp;refresh.y=9&quot;?)
<br>at /usr/local/share/perl/5.8.4/HTTP/Recorder.pm line 347.<br>Use of uninitialized value in substitution (s///) at<br>/usr/local/share/perl/5.8.4/HTTP/Recorder/Logger.pm line 171.<br>Use of uninitialized value in concatenation (.) or string at
<br>/usr/local/share/perl/5.8.4/HTTP/Recorder/Logger.pm line 173.<br>Can't locate object method &quot;query_param&quot; via package<br>&quot;rec-action=submitform&amp;rec-formname=p&amp;rec-formnumber=1&amp;rec-form1-unknown-userName=1&amp;userName=colloron&amp;rec-form1-password-password=1&amp;password=t040682&amp;rec-form1-unknown-language=1&amp;language=&amp;rec-form1-image-refresh=1&amp;refresh.x=113&amp;refresh.y=9&quot;
<br>(perhaps you forgot to load<br>&quot;rec-action=submitform&amp;rec-formname=p&amp;rec-formnumber=1&amp;rec-form1-unknown-userName=1&amp;userName=colloron&amp;rec-form1-password-password=1&amp;password=t040682&amp;rec-form1-unknown-language=1&amp;language=&amp;rec-form1-image-refresh=1&amp;refresh.x=113&amp;refresh.y=9&quot;?)
<br>at /usr/local/share/perl/5.8.4/HTTP/Recorder.pm line 347.<br>Use of uninitialized value in substitution (s///) at<br>/usr/local/share/perl/5.8.4/HTTP/Recorder/Logger.pm line 171.<br><br><br>While the appending to the log file seems just fine, but it won't go passed
<br>it:<br><br><br>liran@octave:~/Programming/perls$ tail -f /tmp/proxy<br><br>$agent-&gt;get('<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.example.net/%27%29" target="_blank">http://www.example.net/')
</a>;<br><br>$agent-&gt;get('<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.example.net/index.html%27%29" target="_blank">http://www.example.net/index.html')</a>;<br>$agent-&gt;form_name('p');<br>
$agent-&gt;field('password', '123123');<br>$agent-&gt;field('language', '');<br>$agent-&gt;field('userName', 'test');<br>$agent-&gt;click();<br><br>$agent-&gt;form_name('p');<br>$agent-&gt;field('password', '123123');<br>
$agent-&gt;field('language', '');<br>$agent-&gt;field('userName', 'test');<br>$agent-&gt;click();<br><br><br><br>Any comment is welcome.<br>thanks.</div>