$c = CGI->new(); push @page, $c->header; push @page, $c->start_html( -style=>{-src=>'/style/st1.css'}) ... yada ...