BeginnersBook

  • Home
  • Java
    • Java OOPs
    • Java Collections
    • Java Examples
  • C
    • C Examples
  • C++
    • C++ Examples
  • DBMS
  • Computer Network
  • Python
    • Python Examples
  • More…
    • jQuery
    • Kotlin
    • WordPress
    • SEO
    • JSON
    • JSP
    • JSTL
    • Servlet
    • MongoDB
    • XML
    • Perl

Perl String Escape Sequences

By Chaitanya Singh | Filed Under: Perl

In the previous tutorial we have learned how to work with Strings in Perl. In this guide, we will discuss the escape characters that will… [Read More]

Perl – Strings

By Chaitanya Singh | Filed Under: Perl

String is a sequence of characters. As we have discussed in the Scalars guide that string is considered as scalar variable in Perl programming language…. [Read More]

Hashes in Perl

By Chaitanya Singh | Filed Under: Perl

Hashes are group of key-value pairs. Hash variables are prefixed with “%” sign. Lets take a simple example first then we will discuss the hash… [Read More]

Perl – Lists and Arrays

By Chaitanya Singh | Filed Under: Perl

In Perl, people use term list and array interchangeably, however there is a difference. The list is the data (ordered collection of scalar values) and… [Read More]

Use strict and use warnings in Perl

By Chaitanya Singh | Filed Under: Perl

You may find the following lines in almost every perl script. use strict; use warnings; In this article, we will discuss about them one by… [Read More]

my keyword – Local and global variables in Perl

By Chaitanya Singh | Filed Under: Perl

When we talk about local and global variables, we are in fact talking about scope of variable. Local variable Local variable scope is local, its… [Read More]

Scalars in Perl

By Chaitanya Singh | Filed Under: Perl

Scalar data in Perl is considered as singular, it can either be number or string. We have covered a little bit about scalars in variables… [Read More]

Subroutines in Perl

By Chaitanya Singh | Filed Under: Perl

Perl allows you to define your own functions, called subroutines. They are used for code reusability, so you don’t have to write the same code… [Read More]

Loops and loop control statements in Perl

By Chaitanya Singh | Filed Under: Perl

Loops are used for executing a set of statements repeatedly until a particular condition is satisfied. In perl we have following loop constructs. Click on… [Read More]

Conditional Statements in Perl

By Chaitanya Singh | Filed Under: Perl

In any programming language, conditional statements are considered as one of the most useful feature. Conditional statements are used, when we need to perform different… [Read More]

Until loop in Perl with example

By Chaitanya Singh | Filed Under: Perl

Until loop behaves just opposite to the while loop in perl, while loop continues execution as long as the condition is true. In until loop,… [Read More]

Perl – foreach loop with example

By Chaitanya Singh | Filed Under: Perl

The foreach loop is used for iterating arrays/lists. Syntax of foreach loop: foreach var (list) { statement(s); } Flow of Execution of the foreach Loop… [Read More]

Perl – do-while loop with example

By Chaitanya Singh | Filed Under: Perl

In the last tutorial, we discussed while loop. In this tutorial we will discuss do-while loop in Perl. do-while loop is similar to while loop,… [Read More]

While loop in Perl with example

By Chaitanya Singh | Filed Under: Perl

In the last tutorial, we discussed for loop in Perl. In this tutorial we will discuss while loop. As discussed in previous tutorial, loops are… [Read More]

For loop in Perl with example

By Chaitanya Singh | Filed Under: Perl

In this tutorial we will learn how to use “for loop” in Perl. Loops are used to execute a set of statements repeatedly until a… [Read More]

  • 1
  • 2
  • Next Page »

Copyright © 2012 – 2022 BeginnersBook . Privacy Policy . Sitemap