http://www.perlmonks.org?node_id=1102488


in reply to Re: Style in CGI Header
in thread Style in CGI Header

So then would this work? I'm in a live environment, so I cannot just test it, it may break if I do it live...

my @cssFiles = (); push(@cssFiles, {'src' => "$_css_path"}); push(@cssFiles, {'src' => "$_css_path2"}); # Then in the start_html() this line: -style => {-code=> "$page_style", 'src'=>@cssFiles},
is that how it would work? It does not seem so, because the array has src = and then the -style field has 'src' = ...so seems like I have it wrong.

Can you tell me how to do that right?

Thanks,
Rich