It was initially released in 1987. | It was initially released in 1994. |
Perl is a high level, general-purpose, interpreted, dynamic
programming language.
| Ruby is a dynamic, object-oriented, reflective, general-purpose programming language. |
It is less Object-Oriented language. | It is a pure and highly Object-Oriented language. |
The number of libraries present in Perl is less than Ruby. | The number of libraries present in Ruby is more than comparing to Perl. |
Its support for Unicode is much stronger than Ruby. | Its support for Unicode is not as strong as Perl. |
The file extension used for Perl is ".pl". | The file extension used for Ruby is ".rb". |
It has a very good number of libraries when it comes to
supporting regular expression.
| Its support for regular expression is less when compared to Perl. |
Framework for Perl are Catalyst, Mojolicious and mod_perl. | Frameworks for Ruby are Ruby on Rails, Sinatra, Ramaz. |
It supports multiple variable types. | It has only one variable type. |
The performance of Perl in terms of execution is very fast. | The execution speed of Ruby scripts decent enough. |
Perl is most often used in CGI (Common Gateway Interface) scripting along with C for web servers and hence used widely in the world of server technology. | Ruby is strong in meta-programming, which allows creating a fabulous product like Vagrant. |
It is ideal for both web application development and system administration. | It is ideal for those applications which have heavy traffic. |
Perl is being supported by Perlmonks, which is termed as the best programming language community. | Ruby is supported by google groups or with forums. |