parser has asked for the wisdom of the Perl Monks concerning the following question:
I maintain a large MySQL database and receive monthly updates in DBF file format. Currently, I use the DBD::XBase and DBI modules. For XBase I read the update record (60+ fields/columns) using get_record_as_hash() and for MySQL I search for an existing entry and use fetchrow_hashref() to read the row. I then compare the columns using the column names as keys.
It works but is ugly, slow, and not very elegant. I am looking for something with a bit more panache with regard to comparing records. I've read gmax's DBI Recipes with interest but none of them appear at first blush to be good fits.
Thank you in advance!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Comparing DBI records
by Tux (Canon) on Feb 19, 2013 at 07:01 UTC | |
by parser (Acolyte) on Feb 19, 2013 at 16:54 UTC | |
|
Re: Comparing DBI records
by NetWallah (Canon) on Feb 19, 2013 at 04:32 UTC | |
by CountZero (Bishop) on Feb 19, 2013 at 06:29 UTC | |
by parser (Acolyte) on Feb 19, 2013 at 16:44 UTC | |
|
Re: Comparing DBI records
by nikosv (Deacon) on Feb 19, 2013 at 09:11 UTC | |
by parser (Acolyte) on Feb 19, 2013 at 20:15 UTC | |
|
Re: Comparing DBI records
by parser (Acolyte) on Feb 19, 2013 at 17:01 UTC |