Perl has been ported to about 70 operating systems. In this article I will make a lot of simplifications and generalizations. Those which process the input from CGI forms Invariably, this second type, having processed the data, will output an HTML page or form to let the user continue, or at least know what happened, or they will do a CGI redirect to another script which outputs something. I am splitting scripts in to 2 type just to emphasize that there are differences between processing forms and processing in the absence of forms. There are Web Servers, and Web Clients.
Some web clients are browsers.
There are programs and scripts. Once upon a time, programs were compiled and scripts were interpreted. Hence the 2 names. But today, this is 'a distinction without a difference'. My attitude is that the 2 words, program and script, are interchangable.