http://qs1969.pair.com?node_id=235845

shirkdog_perl has asked for the wisdom of the Perl Monks concerning the following question:

Greetings Fellow Monks, Because of my hosting site not support many wonderful modules (Such as HTML::* HTTP::* and LWP::*), I have been working on code that is compatible with Perl 5.006 (Sorry, at least I have fun at perlmonk.org). My question is, I figured out a way to include an html file as a string, then setting up a loop to print the entire thing, such as a header and footer for a web page:
while (<HEAD>) { print; }
However, as I hope some of the monks will point out, the filehandlers will cost performance. I have seen this as it loads. So what I am faced with is no mod_perl and no modules. However, I am trying to make this work for now until I can get my own server to host my domain. Once again I am most humble to the knowledge of the monks.