in reply to Can't use string ("blah") as an ARRAY ref while "strict refs" in use at..
Given that @database_urls gets populated with:
my $url = $row[0]; push (@database_urls, $url);
That is, it's an array of strings, Perl is telling you that:
my $host = $databases[$i][0];... $databases[$i] contains a string, not an array reference. You're going to have to get the host and database some other way.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can't use string ("blah") as an ARRAY ref while "strict refs" in use at..
by kdmurphy001 (Sexton) on Mar 27, 2009 at 06:09 UTC | |
by targetsmart (Curate) on Mar 27, 2009 at 07:21 UTC |