in reply to Template::Toolkit img path

generally, no files are ever served from cgi-bin, only programs are executed, so no img files in cgi-bin

your server error logs would have told you as much, Tutorials: CGI Help Guide, Troubleshooting Perl CGI scripts