by Alex Kashevarov
About the language
| Name: | Perl |
| Year created: | 1987 |
| Created by: | Larry Wall and a cast of others |
| Paradigm: | Object-oriented(Perl is a very flexible language and can be adopted to a variety of uses, procedural C-like programs can also be created) |
| Platform: | Platform-independent, uses an interpretor to translate code for a specific machine. |
| Domain: | Web applications, Database, General applications (System scripts, etc.) |
| Advantages: | Platform independence (Code can be used on UNIX and Microsoft machines without any modification), security, excellent documentation, modularization (i.e. packages), flexibility (arbitrary data structures, security and other built-in checks by the compiler at runtime). |
| Disadvantages: | Uses an interpretor so it can be slower than true compiled languages like C/C++, but as computers are getting faster the perceptible difference between interpreted and compliled code is diminishing |
| Specification: | http://perldoc.perl.org/perl.html |
| Grammar: | http://search.cpan.org/dist/perl/pod/perlsyn.pod |
Step-by-step instructions for learning to program in Perl:
Step 1. Download and install the latest source code release
Step 2. Writing programs in Perl
Step 3. Write a "hello world" program (for Windows)
print "Hello, world!\n";
Step 4. Run the "hello world" program
perl hello.pl
Hello, world!
Step 5. Going beyond the basics
Step 6. Using Perl scripts with extra priviliges (System Administration)
Learning more
There is a vast amount of information available on the Internet. Some of the best sources are: