Gossamer Forum
Home : General : Perl Programming :

Top search engines

Quote Reply
Top search engines
Hi all,

Please tell me the top 10 search engines in the world.
BTW: when I go to this url: http://www.google.com/search?hl=en&q=link%3Awww.atlas.com, it return the result page.
but when I write the code below :
Code:
use LWP::Simple;
my $url = "http://www.google.com/search?hl=en&q=link%3Awww.atlas.com";
my $content = get($url);
print $content;

but it did not print anything.

Thanks in advance,

Beck
Quote Reply
Re: [Beck] Top search engines In reply to
> Please tell me the top 10 search engines in the world.

http://www.searchenginewatch.com/

- wil
Quote Reply
Re: [Beck] Top search engines In reply to
Not sure if you need the http:// bit in the my $url bit.

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [AndyNewby] Top search engines In reply to
Why wouldn't you need htp:// ?

Beck:

This works fine for me:

Code:
#!/usr/bin/perl

use LWP::Simple;
use CGI::Carp qw(fatalsToBrowser);

print "Content-type: text/html\n\n";

my $url = "http://www.google.com/search?hl=en&q=link%3Awww.atlas.com";
my $content = get($url);

print $content;

Last edited by:

RedRum: Oct 27, 2001, 8:47 AM