I believe you're looking for CGI::SSI_Parser.. unless I'm misunderstanding your question..which is also possible. :) You may also want to look at documentation for CGI::SSI again..
huh...i did a search and looked at CGI::SSI on searg.span.org, but it directed me to an outdated v.01 instead of the v.51 i was looking for...well, I did find what i was looking for...thanks!