|
|
Saturday, March 1, 2003 |
|
DBD::Google is a Perl module providing database-like interaction with the Google Web API.
use DBI;
my $dbh = DBI->connect("dbi:google:", $KEY);
my $sth = $dbh->prepare(
qq[ SELECT title, URL FROM google WHERE q = "hacks" ]
);
while (my $r = $sth->fetchrow_hashref) {
... [raelity bytes]
Intriguing, though I think real power would come with being able to join. I wonder whether there are other modules allowing for such relational integration across web data sources. |