in reply to Re^4: Combining Ffile:fetch with MySQL
in thread Combining Ffile:fetch with MySQL
while (my $ref = $query->fetchrow_hashref()) { print "url: $ref->{url}\n"; my $ff = File::Fetch->new(uri=> '$ref' ); my $where = $ff->fetch(to => '/data'| \$scalar) ;
when I run it with the where commented out, it prints the correct URL's, but errors out on each one with hostname required when fetching from ''
running it with the $where uncommented, I get the same error, but it drops out on the first line of data with a can't call method Fetch on an undefined value.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Combining Ffile:fetch with MySQL
by hippo (Archbishop) on Jul 24, 2022 at 22:34 UTC | |
by justin423 (Scribe) on Jul 24, 2022 at 23:13 UTC | |
by hippo (Archbishop) on Jul 25, 2022 at 14:38 UTC | |
by justin423 (Scribe) on Jul 25, 2022 at 15:06 UTC | |
by hippo (Archbishop) on Jul 25, 2022 at 15:47 UTC | |
|