in reply to need help file to display

What kind of a system are you working on? It's tempting to think you're asking for HTML help, and some of your code does reference files ending in ".html". However, you've also got some non-HTML tags like <help_iframe> and <rlink>. I have no idea what those do - are they instructions for some kind of intermediate language?

Quite aside from your concrete problem, your code is a terrible mess. You need to spend some quality time with Perl::Tidy. A read through Perl Best Practices would definitely be a good idea too!

-sam