Open In App

Perl Programming Language

Last Updated : 12 Jun, 2024
Improve
Improve
Like Article
Like
Save
Share
Report

Perl-tutorial

Perl is a general purpose, high level interpreted and dynamic programming language. Perl supports both the procedural and Object-Oriented programming. Perl is a lot similar to C syntactically and is easy for the users who have knowledge of C, C++. Since Perl is a lot similar to other widely used languages syntactically, it is easier to code and learn in Perl. Programs can be written in Perl in any of the widely used text editors like Notepad++, gedit, etc.

Basics

Fundamentals

Input and Output

Use of print() and say() in Perl

Control Flow

Decision Making

Datatypes

Strings

Object Oriented Programming in Perl

Introduction to OOPs

Subroutines

Regular Expressions

Regular Expressions

File Handling

File Handling Introduction

Context Sensitivity

Scalar Context Sensitivity

CGI Programming

CGI Programming

Misc



Similar Reads

Perl | Basic Syntax of a Perl Program
Perl is a general purpose, high level interpreted and dynamic programming language. Perl was originally developed for the text processing like extracting the required information from a specified text file and for converting the text file into a different form. Perl supports both the procedural and Object-Oriented programming. Perl is a lot similar
10 min read
Perl | Socket Programming
Socket programming in Perl is a way of connecting two nodes on a network to communicate with each other. Basically, it is a one-way Client and Server setup where a Client connects, sends messages to the server and the server shows them using socket connection. One socket (node) listens on a particular port at an IP, while other socket reaches out t
4 min read
Perl | CGI Programming
In Perl, CGI(Common Gateway Interface) is a protocol for executing scripts via web requests. It is a set of rules and standards that define how the information is exchanged between the web server and custom scripts. Earlier, scripting languages like Perl were used for writing the CGI applications. And, CGI code called by HTTP server was referred to
5 min read
Object Oriented Programming (OOPs) in Perl
Object-oriented programming: As the name suggests, Object-Oriented Programming or OOPs refers to languages that uses objects in programming. Object-oriented programming aims to implement real-world entities like inheritance, hiding, polymorphism, etc in programming. The main aim of OOP is to bind together the data and the functions that operate on
7 min read
Plain Old Text Documentation in Perl Programming
POD is a markup language used for writing documentation for Perl, Perl programs, and Perl modules. It is simple to use. There are various translators available for converting Pod to different formats such as plain text, HTML, man pages, and more. Pod markup comprises of three kinds of paragraphs : Ordinary Paragraph: For bold, italic, code-style, h
2 min read
UNIVERSAL Package in Perl Programming
UNIVERSAL is a built-in package in Perl 5. It can also be thought of as a base class in which the derived classes can implicitly inherit or override. It offers several default methods like isa(), can(), VERSION() and DOES(). The UNIVERSAL class cannot show in the package's @ISA variable. Other methods can also be added to the UNIVERSAL class throug
4 min read
Perl - Attributes in Object Oriented Programming
In Perl, Object Oriented concept is very much based on references and Arrays/Hashes. The few main terms of object-oriented programming with respect to Perl programming are object, class, and method. In Perl, an object is like a reference to a data type that knows about the class it belongs to. The object is stored as a reference present in the scal
6 min read
Difference Between C Language and LISP Language
C Language: C is the procedural Programming language. It was designed to be compiled using a compiler. The Language has small and fixed number of keywords like if/else, for, while,.. etc. We can use more than one assignment that may be used in one statement in this language. Functions are also used here, it can return values that can be ignored, wh
2 min read
Which Programming Language to Choose?
One of the most annoying question today is which programming language should be chosen for the sake of education/career or anything. Answer for this question to many programmers ends up with C or C++, or mostly Java but why C? why C++? Why Java?. Today many software exists, to solve a problem but also to interfere with another software. nowadays in
4 min read
Which Programming Language Should I Choose as a Beginner?
You have just stepped into college. It has not even been a week and is already hearing people talking about hefty paychecks and grand packages in Google, Microsoft, and other giants. They talk about dream offers of crores. You feel intimidated, which is understood. After all, you have just stepped into college; which means you are still a young you
7 min read
Article Tags :