artanisace has asked for the wisdom of the Perl Monks concerning the following question:
Hello monks, I'm totally new to Perl (just 2 days coding!), and so far I'm liking it. I've been assigned a task in Perl, that basically is this:
my biggest concern is that I don't know which will be the best way to "compare" records from the file and the DB to properly update the DB. For now, I have used Text::CSV for reading the file and converting it to a hash ref array, but I'm not sure what will be the best solution for comparing this data with the DB (I'm using MySQL)... I've tried 'selectall_hashref' from DBI class and the result is messed... Dear wise monks, what would be your approach
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Loader script - Design question
by Anonymous Monk on Feb 21, 2016 at 14:44 UTC | |
|
Re: Loader script - Design question
by Cody Fendant (Hermit) on Feb 23, 2016 at 01:56 UTC | |
by artanisace (Initiate) on Feb 23, 2016 at 12:38 UTC | |
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 | |
|