in reply to Re^2: WWW::Google::PageRank module
in thread WWW::Google::PageRank module

The documentation even says:

If query fails for some reason (google unreachable, url does not begin from 'http://', undefined url passed) it return undef.

Read the documentation and follow the example in the documentation.

use WWW::Google::PageRank; my $pr = WWW::Google::PageRank->new; print scalar($pr->get('http://www.yahoo.com/')), "\n";

Replies are listed 'Best First'.
Re^4: WWW::Google::PageRank module
by Entoni (Initiate) on Jun 11, 2009 at 09:02 UTC
    If you look at my code, you'll see that I add 'http://' to $url before passing the parameter. (my $url = "http://".$temp; )
    So I can enter URL without 'http://'.