I have witten a state management system ( I know there is one on cpan ) but this is what ive got. Anyway I am using mySql to store that data and as cut and paste into the main module it works file. As a seperate module how do I pass the DBI handle so that the queries suceed?