Introduction to Perl Programming: Hands-On

Level

Introduction to Perl Programming: Hands-On

Focus on Training
Logo Focus on Training

Need more information? Get more details on the site of the provider.

Starting dates and places
There are no known starting dates for this product.

Focus on Training offers this product as a default in the following regions: N/A

Description

UNIX, Linux and Windows administrators, software engineers, programmers and power users. Previous experience with a procedural or object-oriented programming language is assumed. Knowledge of UNIX scripting tools and regular expressions is helpful.

  • Quickly create effective, reusable Perl scripts
  • Take advantage of Perl 5's many small operators and built-in functions
  • Structure code with user-generated subroutines
  • Exploit the many additional object-oriented packages available on the Internet
  • Build real-world scripts that can be used on UNIX, Linux and Win32 platforms
  • Solve complex data manipulation tasks with ease

Introduction to Perl

  • Perl strengths: ease of programming with operators, flex…

Read the complete description

Frequently asked questions

There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.

Didn't find what you were looking for? See also: Perl, Programming (general), Linux, Web Accessibility, and Web Analytics.

UNIX, Linux and Windows administrators, software engineers, programmers and power users. Previous experience with a procedural or object-oriented programming language is assumed. Knowledge of UNIX scripting tools and regular expressions is helpful.

  • Quickly create effective, reusable Perl scripts
  • Take advantage of Perl 5's many small operators and built-in functions
  • Structure code with user-generated subroutines
  • Exploit the many additional object-oriented packages available on the Internet
  • Build real-world scripts that can be used on UNIX, Linux and Win32 platforms
  • Solve complex data manipulation tasks with ease

Introduction to Perl

  • Perl strengths: ease of programming with operators, flexibility, execution speed
  • Reusable tool building for system admin, text manipulation, the Internet
  • Popular application areas: networking, text filtering, Web application programming

Perl Syntax Fundamentals

Running Perl programs

  • Invoking Perl scripts under UNIX/Linux with "shebang" syntax
  • Starting Perl scripts under Win32 via command line associations
  • Getting help with perldoc

Variable types and contexts

  • Scalars vs. lists vs. hashes
  • Strings and interpolated strings
  • Making sense of special variables
  • Working in the right context

Compound data structures

  • Generating references to named variables
  • Creating references to anonymous data
  • Building multidimensional arrays
  • Working with multidimensional hashes

Managing files and user input

  • Handling standard I/O streams
  • Defining and using file handles
  • Parsing command line arguments
  • Reading and writing data files

Pattern Matching and Operators

Perl regular expressions

  • Extracting important text information
  • Building on UNIX regular expressions
  • Altering data with substitutions
  • Performing global and case-insensitive matches

Perl's small operator groups

  • Manipulating arithmetic expressions
  • Replicating and growing strings
  • Saving time with assignment operators
  • Obtaining file attributes
  • Making decisions with logical operators
  • Establishing and using ranges

Looping, Decisions and Flow Control

Perl support for conventional flow control constructs

  • Making decisions with if/else/elseif
  • Creating loops with do, while, until, for and foreach

Perl-specific constructs

  • if and unless as statement modifiers
  • Altering flow with next and last
  • Constructing switch statements

Subroutines

Writing subroutines

  • Defining and calling a subroutine
  • Passing and receiving parameters
  • Returning values to the caller

Making data work for you

  • Localising variables: my and local
  • Accessing global variables
  • Extracting local variables with shift

Built-in and Add-on Functions

Common data manipulation requirements

  • String functions for text manipulation
  • Processing arrays with list functions
  • Arranging information with sort
  • Sorting data on multiple fields

I/O and tool building

  • Manipulating file system entries
  • Reading binary files
  • Dissecting and creating records with split and join
  • Formatting tabular output

Perl and Object Orientation

How Perl implements object orientation

  • An introduction to OO in Perl
  • Methods, classes and constructors
  • Surveying and obtaining third-party packages from CPAN

Accessing OO packages

  • How to use use
  • Defining a schema to employ OO modules
  • Calling methods with the -> syntax
  • Passing initialisation parameters
There are no reviews yet.
Share your review
Do you have experience with this course? Submit your review and help other people make the right choice. As a thank you for your effort we will donate £1.- to Stichting Edukans.

There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.