Here are some links to perl sources that might be useful for this project. Perhaps we'll get some links to code here as well?