Skip to content

Category Archives: Perl

The switch statement in Perl allows a variable to be tested for equality against a list of values. Each value is called a case and… Read More
The article focuses on discussing how to sort an array/ list which consists of integers or strings in reverse order (descending to ascending). Prerequisite: Sorting… Read More
Controlling program execution in Perl can be done by telling the debugger to execute up to a certain specified point in the program, called a… Read More
The article focuses on discussing different ways to find out how to segregate odd and even numbers from a given list of numbers in Perl.… Read More
First off, in most cases, it doesn’t matter. Perl is usually smart enough to figure out if something’s a string or a number from context.… Read More
Perl is a cross-platform, open-source computer programming language that is extensively used in both the commercial and private sectors. Perl is popular among Web developers… Read More
Web applications use HTML forms to receive inputs from the user. HTML forms have one major drawback that a user can save the form in… Read More
Perl is a multi-purpose interpreted language that is often implemented using Perl scripts that can be saved using the .pl extension and run directly using… Read More
In Perl generally, we have to read CSV (Comma Separated Values) files to extract the required data. Sometimes there are dates in the file name… Read More
In Perl, taint mode is a way to make our code more secure. It makes our program fussier about the data that it receives from… Read More
A regular expression or a regex is a string of characters that define the pattern that we are viewing. It is a special string describing… Read More
In Perl, there are values of different types like strings, integers, rational numbers, and more. Coercion is responsible for converting one data type of data… Read More
Lightweight Directory Access Protocol (LDAP) is an internet protocol that works on TCP/IP and is used to access information from directories. The LDAP protocol is… Read More
In Perl, when a code-script gets bigger in size i.e. contains hundreds of lines of code, it becomes difficult to manage such a code-script. To… Read More
Perl allows its users to send mails using the Perl code-script. There are various ways to send email using Perl. These emails can be simple… Read More