in reply to using a CSS style sheet in CGI

Each page one header. Your only option to generating the header using CGI.pm is to put the CSS in the document header.

Alternatively, you might consider using something like HTML::Template which can allow you to customise the header, push it into the tempalte, and the template can have includes in it as well. This may well be an easier and cleaner way of acheiving what you need.

jdtoronto