Actually I wrote a PHP class based on that article (and others that are similar) which requires no stored procedures and lets me pull out data with one query at the expense of slower inserts (it takes more than one query to insert data). I will be happy to post the source, although I have no perl counterpart.