I'm adding the new dynamic form of dbutil.pm here until we are happy to add it to the main trunk of Greenstone. I think David is keener to see the dbutil stuff refactored as OO, whereas this file makes use of PERL black magic to achieve a similar effect in non-OO code