in reply to Re^9: WWW-Search module that works
in thread WWW-Search module that works
The exact code is:C:\Perl\bin>perl -d ysam5a.pl Loading DB routines from perl5db.pl version 1.28 Editor support available. Enter h or `h h' for help, or `perldoc perldebug' for more help. main::(ysam5a.pl:7): my $sUser; DB<1> x $sUser 0 undef DB<2> n main::(ysam5a.pl:8): my $sPassword; DB<2> x $sPassword 0 undef DB<3> n main::(ysam5a.pl:10): my $sQuery = 'Columbus Ohio sushi restaurant'; DB<3> x my $sQuery 0 undef DB<4>
Pls if you could install the module and verify for yourself, because I am not the only one who says it no longer works.#!/usr/bin/perl use strict; use warnings; use WWW::Search; my $sUser; my $sPassword; my $sQuery = 'Columbus Ohio sushi restaurant'; my $oSearch = new WWW::Search('AltaVista'); $oSearch->native_query(WWW::Search::escape_query($sQuery)); $oSearch->login($sUser, $sPassword); while (my $oResult = $oSearch->next_result()) { print $oResult->url, "\n"; } # while $oSearch->logout;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^11: WWW-Search module that works
by talexb (Chancellor) on Jun 14, 2007 at 16:07 UTC | |
|
Re^11: WWW-Search module that works
by menolly (Hermit) on Jun 14, 2007 at 20:05 UTC | |
by coder57 (Novice) on Jun 15, 2007 at 00:25 UTC | |
by menolly (Hermit) on Jun 15, 2007 at 17:45 UTC | |
by coder57 (Novice) on Jun 16, 2007 at 06:40 UTC | |
by marto (Cardinal) on Jun 16, 2007 at 10:09 UTC | |
| |
by menolly (Hermit) on Jun 18, 2007 at 21:56 UTC | |
by quester (Vicar) on Jun 17, 2007 at 06:02 UTC |