Request More Info

First Name*:

Last Name*:

Job Title:

Mail Point:

Company*:

Address*:

Town*:

Post Code*:

Country*:
   Codes

Office Telephone*:

E-mail*:

* Required

Information provided will be used to communicate with you about our products.
Privacy Statement

A Learning Tree representative will contact you to follow up your request for information.

Tidsbegränsat erbjudande  – Upp till 40 % RABATT per kurs
 

Introduction to Perl Programming:
Hands-On


Course: 4314 dagar

 E-mail   Print   Q&A   PDF   Facebook   Twitter    Se på svenska

Quick Enrol

You Will Learn How To

  • 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

Course Benefits

Perl is a powerful object-oriented scripting language used extensively with UNIX, Linux, Win32 and the Internet. In this course, you learn to write reusable scripts with Perl 5. Through intensive exercises, you learn to use Perl in your operating system and application environments as well as apply built-in functions of the language and make use of external modules.

Who Should Attend

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.

Hands-On Training

During this course, you perform extensive exercises that provide in-depth, hands-on experience. Exercises include:
  • Parsing and manipulating text with Perl regular expressions
  • Reading and writing standard I/O streams and real-world data files
  • Extracting and arranging information from multiple files
  • Empowering scripts by using supplied and third-party OO modules
  • Building network-capable scripts to access e-mail, database and Web servers

Course Content

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

<< Back to C++ och Perl
 

Related Courses


Win32 is a registered trademark of Microsoft Corporation. Linux is a registered trademark of Linus Torvalds. UNIX is a registered trademark of X/Open Company, Limited.
Learning Tree AnyWareTM is a trademark of Learning Tree International, Inc. in the United States and other countries, and is covered by a patent application pending in the United States.
 
Perl Programming Introduction

Course Dates

Live online classroom training.Most events below can be taken in-class or live, online from your home or office with AnyWare.
28 - 31 AugStockholm enrol

UK Dates

17 - 20 JulLondon enrol
4 - 7 DecLondon enrol
30 Apr - 3 MayLondon enrol

US Dates

29 May - 1 JunNew York enrol
31 Jul - 3 AugWashington, DC enrol
21 - 24 AugNew York enrol
11 - 14 SepWashington, DC enrol
2 - 5 OctWashington, DC enrol
27 - 30 NovNew York enrol

For AnyWare enrollments, please register at least 7 days prior to the start of the course.

More Dates and Locations.

 

On-Site &
Custom Training

Bring this or any Learning Tree course to your location or have it customized for your organization.

 

Kursdeltagarnas genomsnittsbedömning

De senaste 12 månadernas bedömningar

5 stjärnor:
84 %
4 stjärnor:
15 %
3 stjärnor:   0 %
2 stjärnor:
1 %
1 stjärna:   0 %

 
"Att Learning Tree-kurserna är så praktiskt inriktade hjälper mig förstå hur tekniken fungerar. Om jag gör misstag kan jag dra nytta av att instruktören finns där och kan svara på frågor. Det är ett sätt som fungerar för mig och låter mig se hur saker och ting fungerar."



 
Open Source Software: An Overview and Outlook