O'Reilly logo

Introduction to Unix and Shell Programming by M. G. Venkateshmurthy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

11

INTRODUCTION TO PERL

Chapter Objectives
  • The structure of a Perl script
  • Executing Perl scripts
  • Types of data and methods of assigning values to them
  • Concatenating strings, repeating a string and comparing strings
  • The meaning and utility of current line ($_) and current line number ($.)
  • Lists and arrays in Perl
  • Working with lists—list manipulations
  • Working with files—file handling and processing
  • Remove the last character of a variable—the chop() and chomp() functions
  • Working with associative arrays
  • Decision making and loop control structures
  • Use of regular expressions to search and extract records having required patterns
  • Defining and using subroutines in Perl

Perl stands for Practical Extraction and Report Language. Larry Wall, the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required