Hi again bakunin
Thank you for your nice reply barrd. I had already done what you have suggested.
No problem, and thank you too.
Heres another tip, if you haven't seen, used or tried HTML::Template I'd really recommend you do so. Since using it my life has improved about 1000%, and I mean that seriously. Theres a plethora of other modules that interact with it and you can do some really funky things. Basically it allows you to extract the HTML from your Perl code leaving both to do what they do best without lots of ugly code in your scripts. Have a look, you won't regret it.