This course Recommended duration: 16 hours (2 days @ 8 hours per day)
Prerequisites:
Participants attending this training program should be competent in the following:
-
- Good experience in any programming language
- Fair knowledge of Windows/Linux/UNIX.
Objective:
After undergoing this training program, the participants should be comfortable with:
- Writing Perl Scripts using Active Perl on Windows and bundled Perl on UNIX platforms.
- Understanding complex Perl scripts.
- Create scripts for automating routine system administration/management tasks.
- Create scripts for managing/monitoring processes, system resources, network hosts and files.
- Deeper understanding of Perl data structures, text processing and regular expressions.
- Applying Perl scripts for interfacing to Network services and network automation
- Applying Perl scripts for parsing textual data, CSV format spreadsheets and XML.
- Connectivity to SQL compliant RDBMS and DBM-style databases.
- Basic overview on CGI applications
Lab requirements:
- This training program is largely lab-oriented, where each participant will have to try out various Exercises provided by the instructor during the training Sessions.
- Most of the key concepts will be explained by instructor by writing and demonstrating scripts in real-time.
Perl Course outline
PERL Course Content
- Intro to Perl
- What is PERL?
- How to Run Perl Script?
- PERL Syntax
- Types of Variables
- Scalar Variables
- Array Variables
- Array Indexing
- Array Operations
- Hash Variables (Associative Arrays)
- Hash Operations
- File Handling in Perl
- File Handling
- Read / Write Files
- Strings
- Comparision Operators
- String Operators
- Control Structures
- If / unless statements
- While / until statements
- For statements
- Foreach statements
- Functions (Subroutines)
- Function Definition
- Calling a Function
- Passing Parameters
- Local Variables
- Returning Values
- More About Functions
- Special Variables
- Special Variable Types
- Filehandle Special Variables
- Local Special Variables
- Global Special Variables
- RegEX (Regular Expressions)
- Matching
- Match Operator
- Simple Matching
- Literal Matching
- Substituting
- Splitting
- Quantifiers
- Metacharacters
- Assertions
- Character Classes
- Alternatives
- Transliteration
- Pointers in PERL (References)
- Scalar Reference
- Anonymous Scalar Reference
- Array Reference
- Anonymous Array Reference
- Hash Reference
- Anonymous Hash Reference
- Function or Subroutine Reference
- PERL Module
- How to use a module
- How Module gets loaded
- Dealing with Databases via PERL
- Database Connection
- DBI and DBD
- Database Operations
- CGI (Common Gateway Interface)
Editing can be done soon for this page.