Perl Topics





Español Français 中文 Deutsch Portuguese Japanese nederlands
   
 
Perl Tutorial
Introduction Introduction
Installing Perl Installing Perl
Basics of Perl Basics of Perl
Scalar Variables Scalar Variables
Operators Operators
Control Structures Control Structures
Lists Lists
Array Array
Arrays Manipulation Arrays Manipulation
Arrays Functons Array Functions
Hash Hash
Hash Functions Hash Functions
String Functions String Functions
Regular Expression Regular Expression
Regular Expression Functions Regular Expression Functions
Numerical Functions Numerical Functions
List Functions List Functions
User Defined Function User Defined Function
File Handling File Handling
Forums Ask Your Doubts
Feedback Feedback
 






outsourced web hosting support

CGI Perl Programming Language Tutorial

Tutorial Index



Perl Installation

Installing Perl

Basics

Perl Basics

Perl Scalar

Scalar Variables

Operators

Operator Precedence
Arithmetic Operator
Assignment Operator
Increment/Decrement
Comparison
Logical
Bitwise
If..else
If..elseif
For Loop
for each
while loop

Lists

Perl lists

Arrays

Array Variable
Array Manipulation

Arrays Functions

Push, Pop Functions
Shift and Unshift
array splice
split

Perl Hash

Hash
Add/Replace New Hash
Remove Element from Hash
Size of hash
Sorting hash

Perl Regular Expression

Regular Expression
m//, bind Operator
Metacharacters
Alternate Metacharacter
Match Any Metacharacter
Match Begin,End Metacharacter
Quantifiers
Character Classes
Backtracking
m// Operator
s/// regular expression

String Functions

chomp
chop
chr
crypt
hex
oct
ord
index()
lc
lcfirst
length
pack
q(STRING)
qq(string)
reverse
rindex
printf
substr
tr///
uc
ucfirst
y///

Regular Expressions

pos
qr/STRING/
qx/STRING/
qq/STRING/
quotemeta()
split() regular expression

Numerical Functions

conversion function
Numeric functions
Trigonometric Functions

List Functions

grep
join()
map()
qw()
sort()
unpack()

Hash Functions

delete()
each()
exists()
keys()
values()

User Defined Functions

User Defined Function
Passing Value to Arrays
Passing Hash Values
Passing Variables
File Handling
Open File
Write into File
Create a File
Copy a File
Deleting a File
Feedback

Introduction

Perl, which stands for Practical Extraction and Report Language, is an interpreted high-level programming language developed by Larry Wall. Its an Open Source software, licensed under the GNU General Public License (GPL) with the best features from other languages such as C, awk, sed, sh and BASIC Perl supports unicode.

CGI (common Gateway Interface) allows to use a program behind the scenes to perform tasks that cannot be done through HTML. For this feature, Perl is one of the most preferred languages. For all this flexibility and ease of use, CGI Perl programming is used along with HTML, PHP and CSS very commonly.


A Note
Simple introduction, basic CGI perl programming codes with examples. Do send your feedback or suggestions on this tutorial. This is a copyright content.

Other Links

web hosting