Hi Valerio, thank you for taking the time to look at the code. I know I am doing a lot of stuff where I could plug in a CPAN module to make the code a lot simpler. My main concern there is that I want the script to only require standard perl modules so it is little fuss to set up. Is there any standard module you would recommend?