As I have discussed in my previous article that switch case deprecated in Perl 5. Three new keywords: given, when and default got introduced in… [Read More]
Switch Case in Perl
switch case is deprecated in Perl 5. If you are wondering why it got deprecated, here is the answer: Switch case may create syntax errors… [Read More]
Unless elsif else statement in Perl
unless-elsif-else statement is used when we need to check multiple conditions. In this statement we have only one “unless” and one “else”, however we can… [Read More]
unless-else statement in Perl
Similar to unless statement, the unless-else statement in Perl behaves opposite to the if-else statement. In unless-else, the statements inside unless gets executed if the… [Read More]
Unless statement in Perl
unless statement in perl behaves just opposite to the if statement in perl. It executes the set of statements inside its body when the given… [Read More]
if-elsif-else statement in perl
if-elsif-else statement is used when we need to check multiple conditions. In this statement we have only one “if” and one “else”, however we can… [Read More]
If else statement in Perl
In the last tutorial, we learnt about if statements in perl. In this tutorial we will learn about if-else conditional statement. This is how an… [Read More]
If statement in Perl
If statement consists a condition, followed by statement or a set of statements as shown below: if(condition){ Statement(s); } The statements gets executed only when… [Read More]
Perl Operators – Complete guide
An operator is a character that represents an action, for example + is an arithmetic operator that represents addition. Operators in perl are categorised as… [Read More]
Perl Variables
There are three types of variables in perl: Scalar, arrays of scalars and hashes. Lets learn them one by one with the help of examples…. [Read More]
Data Types in Perl
Perl has three data types: Scalars, arrays of scalars and hashes (also known as associative arrays, dictionaries or maps). In perl we need not to… [Read More]
Perl Syntax
We got familiar with the basics of Perl in our last tutorial: first perl program. In this tutorial, we will learn few important points regarding… [Read More]
First Perl Program
In this tutorial, we will learn how to write first perl program and run it on various Operating Systems. First Perl Program: Hello World This… [Read More]
Installing Perl on Windows, Mac, Linux and Unix
In most of the cases, you have it already installed on your System as several Operating systems have it pre-installed. To check whether you have… [Read More]
Perl Tutorial for beginners
Perl is a high level language, developed by Larry Wall (a System admin working for NASA in late 1980s). When we say high level it… [Read More]