Perl Programming Help by Programmers hub

Perl Programming language

Perl is a high level programming language originally develop by larry wall in 1987 as a general purpose Unix scripting language. The features of the perl programming language borrow from the other programming languages include C, Shell script, AWK and sed. Due to the parsing ability of the perl programming language it gets more popularity in 1990 as a CGI scripting. Perl used in many fields some of the fields in which perl programming is using are :

  • graphics programming
  • system administration
  • network programming
  • finance
  • bioinformatics

Perl Programming Code Example

 use strict;
 use warnings;
 use IO::Handle;
 my ( $remaining, $total );
 $remaining = $total = shift(@ARGV);
 while ( $remaining ) {
  printf ( "Remaining %s/%s \r", $remaining--, $total );
  sleep 1;
 print "\n";

Perl Programming language


Features of Perl Programming language

  • Perl takes the best features from other languages, such as C, awk, sed, sh, and BASIC, among others.
  • Perls database integration interface DBI supports third-party databases including Oracle, Sybase, Postgres, MySQL and others.
  • Perl works with HTML, XML, and other mark-up languages.
  • Perl supports Unicode.
  • Perl is Y2K compliant.
  • Perl supports both procedural and object-oriented programming.
  • Perl interfaces with external C/C++ libraries through XS or SWIG.
  • Perl is extensible. There are over 500 third party modules available from the Comprehensive Perl Archive Network (CPAN).
  • The Perl interpreter can be embedded into other systems