|Paradigm(s)||multi-paradigm: functional, imperative, object-oriented (class-based), reflective, procedural, Event-driven, generic|
|Designed by||Larry Wall|
|Stable release||5.20.1 / September 22, 2014|
|Preview release||5.21.7 / December 20, 2014|
|Influenced by||AWK, Smalltalk 80, Lisp, C, C++, sed, Unix shell, Pascal|
|License||GNU General Public License or Artistic License|
|Usual filename extensions||.pl .pm .t .pod|
|Perl Programming at Wikibooks|
Perl is a programming language that was first made to change text files. The programming language has been changed many times to do things in addition to changing text files. Some of things are tasks like making web pages show information in a better way than before, or take information and show it in a way that makes more sense to people. Sometimes Perl code is written using many symbols besides letters and numbers, which can make those programs hard to read.
A lot of web pages are written using Perl, but it can be used to do all kinds of things on computers. It is very good at searching through text looking for patterns, which lets people find words that they may be looking for, or also let people find words they are looking for, and change them with different words much more quickly than they would if they had to do it one word at a time.
Perl is also a high-level programming language. A high-level language has advanced features which let the programmer to tell the computer what to do without having to worry about how the computer is going to do that as much as low-level programming languages. This makes writing programs easier and faster.
Example[change | change source]
An example Hello World program in Perl:
#!/usr/local/bin/perl print "Hello, world!\n";
References[change | change source]
- "Perl 5.20.1 is now available". perlnews.org. http://perlnews.org/2014/09/perl-5-20-1-is-now-available/. Retrieved 2014-09-22.
- "perl 5.21.7 is now available". perl.org. 2014-12-20. http://www.nntp.perl.org/group/perl.perl5.porters/2014/12/msg223774.html. Retrieved 2014-12-21.
- "Perl Licensing". dev.perl.org. http://dev.perl.org/licenses. Retrieved 2011-01-08.