Created
January 24, 2012 01:43
-
-
Save olegwtf/1667216 to your computer and use it in GitHub Desktop.
Any Warnings?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strict; | |
use warnings; | |
use AnyEvent::Google::PageRank 'rank_get'; | |
my $cv = AE::cv; | |
rank_get 'http://www.google.ru', sub { | |
print shift, "\n"; | |
$cv->send; | |
}; | |
$cv->recv; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment