Perl Stuffing

jonasbn on 2003-12-03T20:08:38

We got a difficult database extraction task today. Extracting a lot of log data from a table and combining it with a colletion of translations of some of the data in the log, a kind of multilanguage setup used by the VB.NET frontend.

Well here my SQL abilities come a bit short and in with combination of time constraints and work pressure - I made a Perl solution.

First I extracted the necessary data from the multilanguage table and then I ran the translation proces on the extracted log data and finally I pushed everything into a CSV file.

WOA! lucky for me I know Perl, I could simply fill in the gaps with Perl and everything works great.

I am sure I would be able to make the solution in SQL (eventually), but I am glad I chose the Perl solution, since it also had a very positive effect on my morale :)


And not least..

htoug on 2003-12-04T07:22:35

it's fun!
Which you never can say about messing with SQL! That is just slightly less painfull than banging your fingers with a mallet ;-P

Personally I don't find SQL all that unfun..

WebDragon on 2003-12-04T14:30:22

Particularly when you have nifty tools like Jeff Zucker's AnyData/DBD::AnyData modules to play with. :-D