Vanilla CGI doesn't support SSI, output from CGI is sent to the browser
directly (mod perl supports SSI - see Apache::SSI)
what do you whant to do with SSI that you cannot do with CGI?
Update: There is a module called CGI::SSI on CPAN,
although i don't see the need for SSI upon CGI maybe this is what you are lloking for...