so far
DB<1> n
main::(ysam5a.pl:10): my $sQuery = 'Columbus Ohio sushi restaurant';
DB<1> n
main::(ysam5a.pl:11): my $oSearch = new WWW::Search('AltaVista');
DB<1> x $sQuery
0 'Columbus Ohio sushi restaurant'
DB<2> n
main::(ysam5a.pl:13): $oSearch->native_query(WWW::Search::escape_que
+ry($sQuer
));
DB<2> x my $oSearch
0 undef
DB<3> n
main::(ysam5a.pl:14): $oSearch->login($sUser, $sPassword);
DB<3> n
main::(ysam5a.pl:16): while (my $oResult = $oSearch->next_result())
main::(ysam5a.pl:17): {
DB<3> n
main::(ysam5a.pl:20): $oSearch->logout;
DB<3> x my $oResult
0 undef
DB<4> n
Debugged program terminated. Use q to quit or R to restart,
use O inhibit_exit to avoid stopping after program termination,
h q, h R or h O to get additional info.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|