Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Perl Programming Language

WWW::Search produces no output


HI,

I wonder why the following code produces no output on my XP ?Modules
seem to be properly installed.
===============================
require WWW::Search;

my $sQuery = 'postscript';
my $oSearch = new WWW::Search('AltaVista');
$oSearch->native_query(WWW::Search::escape_query($sQuery));

while (my $oResult = $oSearch->next_result())   {
      print $oResult->url, "\n";
      sleep 1;

On 05/27/2007 07:50 AM, MoshiachNow wrote:

It works for me--both that code and a slightly modified version that
goes through my caching proxy. Perhaps you should enable debugging output.

(And mine *shouldn't* work properly because I have older versions of
some modules than what WWW::Search requires, and I had to force CPAN.pm
to install.)

> It works for me--both that code and a slightly modified version that
> goes through my caching proxy. Perhaps you should enable debugging output.

> (And mine *shouldn't* work properly because I have older versions of
> some modules than what WWW::Search requires, and I had to force CPAN.pm
> to install.)

Thanks

Still does not worlk for me.Debug did not show anything.
Possibly anything to do with our firewall settings ?

On May 28, 7:30 am, MoshiachNow <lev.weiss@creo.com> wrote:

> > It works for me--both that code and a slightly modified version that
> > goes through my caching proxy. Perhaps you should enable debugging output.

> > (And mine *shouldn't* work properly because I have older versions of
> > some modules than what WWW::Search requires, and I had to force CPAN.pm
> > to install.)

> Thanks

> Still does not worlk for me.Debug did not show anything.
> Possibly anything to do with our firewall settings ?

I can't help you but all I can say is it does NOT work for me. BUT if
I install WWW-Search-MSN and swap the "AltaVista" with "MSN" in your
code it DOES work. Mumia must not of tried it.
Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc