Thread: Bash or Perl?
View Single Post
Old Jan 30th, 2006, 10:29 AM   #7
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
Quote:
Originally Posted by Pizentios
Heh, i have made and used non-interactive bash scripts, and i have also made interactive perl scripts. So your discription is a little off.
I meant, "interactive shell", rather than "interactive script". Whilst there is a Perl shell (psh), Perl is not usually used in this way.

Quote:
Originally Posted by Pizentios
Perl is a scripting language, not a programming language (same with bash). Programming languages get compiled, where as languages like perl and bash get interpreted on the fly.
Didn't DaWei recently make a post warning to be careful of providing incorrect information?

A programming language is, surprisingly enough, a language you program in. What method is used to execute the resulting code is irrelevant. C is a programming language, but so is Perl or Python. Scheme's a programming language can be compiled, or interpreted, depending on what software you use. The term "programming language" encompasses both scripting and compiled languages.

Last edited by Arevos; Jan 30th, 2006 at 10:44 AM.
Arevos is offline   Reply With Quote