in reply to dbi::anydata
One way is, you can convert into csv type and load the file into mysql. Then you can run the queries.
Make use of Text::CSV module.
Prasad