TeamSite\httpd\iw-bin, is only for CGI Program? or can we use it for ipl or perl programs also.
Yes, that location is where you put any custom cgi, pl or ipl file you wish to call from the browser. I would make your own "custom" folder inside this location in order to keep your custom items separate from the out of the box TeamSite files.
"Custom" subfolders within ...httpd/iw-bin may cause serious problems with the impersonationwrapper, iw_cgi_wrapper.cgi. Since it is very often needed, for Perl cgi I would recommendto place modules directly under httpd/iw-bin - unfortunately.De-facto standard location for other (non-cgi) Perl scripts is iwhome/custom/your_own_subfolders.For custom PM Modules Autonomy recommends iwhome/iw-perl/site/lib.