in reply to Filling test database

I knew there was an O'Reilly article on this subject somewhere. It is a java project but it might have some relevance for you in your search or it might give you some ideas for a Perl version. I hope this helps.