WWW::YQL - Module for YQL queries
version 0.001
use WWW::YQL; my $yql = WWW::YQL->new(); my $data = $yql->query("show tables"); foreach my $table ( @{ $data->{'query'}{'results'}{'table'} }){ print "$table\n"; } $data = $yql->query("insert into yahoo.y.ahoo.it (url) values ('http://search.cpan.org/~cwimmer/')"); my $shorty=$data->{'query'}->{'results'}->{'url'}; The User Agent that will be used to make the connection is available from the ua() method. You may make changes to the User Agent before running the query() method.
This module is used to submit YQL queries and receive their responses.
This method takes one argument, a string. The string is the YQL query string for this request. The return value is a has reference representing the result from the YQL service.
None known at this time. Please log issues at:
https://github.com/cwimmer/WWW-YQL/issues
Source code is available on GitHub:
https://github.com/cwimmer/WWW-YQL
Module available on CPAN as WWW::YQL:
http://search.cpan.org/~cwimmer/
Charles A. Wimmer <charles@wimmer.net>
This software is Copyright (c) 2012 by Charles A. Wimmer.
This is free software, licensed under:
The (three-clause) BSD License
To install WWW::YQL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::YQL
CPAN shell
perl -MCPAN -e shell install WWW::YQL
For more information on module installation, please visit the detailed CPAN module installation guide.