in reply to DBD::Google " SELECT * " does not return URL.
It's a funny bug in DBD::Google. If you look at the parser you'll see that @default_columns contains URL, but a few lines later it gets changed in this for loop:
for my $dc (@default_columns) { $dc =~ s/([A-Z])/_\l$1/g; $allowed_columns{$dc} = 1; }
so that URL becomes _u_r_l.
I am not going to test it, but I'd change the loop to:
for my $dc (@default_columns) { my $t; ($t=$dc) =~ s/([A-Z])/_\l$1/g; $allowed_columns{$t} = 1; }
--
dakkar - Mobilis in mobile
Most of my code is tested...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBD::Google " SELECT * " does not return URL.
by superfrink (Curate) on Feb 05, 2005 at 20:35 UTC |