in reply to Re: Loader script - Design question
in thread Loader script - Design question
This is what I meant by the result is messed, if I do this for example:
# Update DB with file content my @keys = ('ID'); my $hash = $dbh->selectall_hashref("SELECT * FROM users", \@keys); print Dumper \$hash;
This happens:
http://postimg.org/image/3rhdfupnx/If I add more values to @keys, the 'chain' of hashref gets bigger... and I don't really know what's happening :S
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Loader script - Design question
by poj (Abbot) on Feb 23, 2016 at 12:54 UTC | |
by artanisace (Initiate) on Feb 23, 2016 at 13:14 UTC | |
by poj (Abbot) on Feb 23, 2016 at 13:56 UTC | |
by artanisace (Initiate) on Feb 23, 2016 at 14:18 UTC |