$credit = 'xxx.cgi <a href="ttp://">site</a>';
なんて風に変数に入れておいてprintする。
それでもし$creditの文字数が減ってたり空だったらエラー起こすってのはどう?