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

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

Dear Monks
I need to put the CSS data into given HTML file so that CSS files (different for Netscape and IE) are not required anymore. Manually it takes so much time and gets little unclean, so I need some suggestions. I looked at CSS modules on CPAN, but not sure that which module would be useful for this purpose.

Thanks.

Update: I know it is reverse engineering, however it is part of the job. The HTML formatted data is used by some existing perl programs rather than directly displaying in the browser.

Update2: Perhaps I should have mentioned earlier: Any solution which doesn't alter the CSS style format won't work. Becuase I have to put this embeded HTML in the existing perl program as part of the bigger HTML display ie..(using templates for header etc..)