Skip to main content

Introduction to Perl 6 training

by Andrew Shitov (‎ash‎) (Moscow.pm)

Introduction to Perl 6 training aimed at Any and is held in English. This talk starts on 2018-04-03 at 10:00 for 420 minutes. It takes place at the Hännesche.

Name of the training:
"Introduction to Perl 6"

Duration:
8 hours (with 3 breaks)

Audience:
- People with no experience in Perl
- People with Perl 5 experience

Requirements:
- Understanding of programming in general
- Laptop with internet
- No software pre-installed needed

Contents:

- Introduction (1 hour)

- What is Perl 6?
- Why is it important to learn it now?


- Perl 6 design ideas
- Perl family
- Language defined by specification
- Proper OOP
- Regexes on steroids
- Concurrency and parallel computing
- Unicode support

- Perl 6 compiler
- Installing Rakudo Star
- Installing from packages
- Compiling from sources
- REPL shell
- Command-line options

- Part 1. The basics of the language (4 hours)

- Variables and types
- Scalars, arrays, hashes
- Ints, Rats
- Nums, Complex numbers

- Operators
- Categories
- Infixes, prefixes, postfixes
- Circumfix, postcircumfix
- Ternary operator
- Meta-operators
- Hyper-operators

- Control flow
- if, unless, else
- loops

- Functions (subroutines)
- Definiing a function
- Signatures
- Default and optional arguments
- Named arguments
- Passing arrays and hashes
- Defining your own operators

- Classes
- Defining a class
- Class attributes
- Class methods
- Hyerarchy
- Roles

- Part 2. Beyond the basics (3 hours)

- Regexes
- Matching
- Special characters
- Character classes
- Quantifiers
- Adverbs (modifiers)
- The Match object

- Parallel computing
- Junctions
- Threads
- Promises
- Channels

Slides: https://inperl6.files.wordpress.com/2018/04/perl-6-intro-exercises.pdf


Tags: perl6

Interest in attending: