Many thanks for that.
I'm glad you reminded me as I have come across this but
the goldfish side of my memory took over and forgot about
it 2 seconds later!
Actually I have ended up using hash arrays since the database is small and simple but it would be nice to get DBI working anyway for future uses. I will give it a try.