The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::YQL - Module for YQL queries

VERSION

version 0.001

SYNOPSIS

    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.

DESCRIPTION

    This module is used to submit YQL queries and receive their responses.

METHODS

query

    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.

KNOWN BUGS

None known at this time. Please log issues at:

https://github.com/cwimmer/WWW-YQL/issues

AVAILABILITY

Source code is available on GitHub:

https://github.com/cwimmer/WWW-YQL

Module available on CPAN as WWW::YQL:

http://search.cpan.org/~cwimmer/

AUTHOR

Charles A. Wimmer <charles@wimmer.net>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2012 by Charles A. Wimmer.

This is free software, licensed under:

  The (three-clause) BSD License