Unlock the potential of generative AI across all your managerial functions.
Log in
Or create your account
You have just added to your selection
Your cart is empty, See our trainings

Description

This course will teach you to program or maintain operating procedures written in Perl. It will allow you to master the language itself but also to discover the "Perl philosophy" with in particular the use of a large number of modules allowing you to expand its possibilities almost infinitely.

Who is this training for ?

For whom ?

Computer scientists concerned with operating procedures in Unix, Linux or Windows environments.

Prerequisites

Training objectives

  • Master the syntax of the PERL language
  • Implement regular expressions
  • Manage files and directories
  • Interact with the operating system
  • Use data from a relational database
  • Write Perl scripts in a Web context
  • Training program

      • History of the language.
      • Perl, for what use? Characteristics of the Perl language.
      • The different distributions and versions.
      • The official documentation.
      • Installation and first execution of a Perl program.
      • Source files, extension and interpretation.
      • Tools for using Perl.
      • Practical work Installation of the Perl interpreter.
      • Structure of a Perl program, script header.
      • Coding conventions and naming rules.
      • Added comments.
      • Character strings, interpretation of codes.
      • Variables, naming and typing.
      • Scope of variables.
      • Scalars.
      • Operators: calculation, increment, assignment, comparison.
      • Arrays, initialization, display of content.
      • Associative tables (hash table), key and values ​​functions .
      • Memory references.
      • System variables.
      • The notion of blocks.
      • Conditional control structures: if, if.
      • else, if.
      • elsif.
      • else.
      • Iterative control structures: while, for, until, foreach.
      • Standard input/output streams (stdin, stdout, stderr).
      • Practical work Manipulation of the language through the writing of different programs.
      • Use cases for expressions.
      • Panorama of different patterns: meta-characters, quantifiers, special characters.
      • Pattern Matching.
      • The Pattern Substitute.
      • Command line options for the interpreter.
      • Third-party program: sed, awk.
      • Perl used as an additional filter.
      • Practical work Implementation of regular expressions.
      • Definition of functions.
      • Difference between functions and procedures.
      • The declaration of a function, the calling mechanism, passing arguments and retrieving results.
      • Visibility of variables, the my operator.
      • Using references.
      • The functions built into Perl: chomp, chop, length.
      • Notion of "package" and module.
      • Modules of the standard distribution.
      • CPAN modules, census, documentation, resource sites.
      • Installation of modules.
      • Using a "classic" module and an "Object-Oriented" module.
      • The functions required and use.
      • Creating a module.
      • Documenting the modules created.
      • Practical work Writing functions.
      • Integration of a module in a development.
      • Creation of a module.
      • Notion of filehandle.
      • File management: opening, reading, writing, closing.
      • Information on files (owner, size, rights.
      • ), the stat function.
      • The diamond operator.
      • Directory management: change, browse, creation, deletion.
      • Management of errors when handling files and directories.
      • Practical work Reading/writing to a file.
      • Handling directories.
      • Access to operating system information.
      • Commands acting on the system: mkdir, rmdir, chown, chroot, chmod, .
      • Process management .
      • Creation of child processes: system, exec.
      • Back quotes.
      • Interactions with the Windows system (Win32 and Win32API modules).
      • Practical work Creation of child processes.
      • Custom sorts.
      • Additional processing on character strings.
      • Data structures developed using anonymous references.
      • Access to databases using the DBI module.
      • Establishing and configuring a connection, querying and retrieving results.
      • Creating the structure of a class and instantiation: package, subroutine and reference.
      • Object constructor and destructor.
      • Invocation of methods of a class.
      • The garbage collector .
      • Practical work Exploitation of data from a relational database.
      • HTTP protocol, web server, CGI functional diagram.
      • The CGI module.
      • Environment variables, GET and POST methods.
      • Generation of HTML elements of the form with Perl.
      • Processing forms, exploitation of results.
      • Practical work Writing a CGI script in Perl.
    • 1378
    • 21 h

    Submit your review

    Translated By Google Translate