I do not think that something is wrong with this.
But if you want or need more consistency in your scripts, you can rewrite the code in the required script as a subroutine. For example:
##### old page.pl ###### print "This is the body.<P>\n"; 1; ##### old cgi script ##### print "Content-type: text/html\n\n"; print "<html><head></head><body>\n"; require "page.pl";
mob Feb 01 '10 at 18:10 2010-02-01 18:10
source share