Camelia

The Perl Maven's Perl 6 Tutorial

  1. Introduction to Perl 6
    1. Getting started
    2. Other resources
    3. Installing Rakudo Perl 6
    4. Development Environment
    5. Running Rakudo
    6. Hello World
    7. Comments
    8. POD - Plain Old Documentation
  2. First steps in Perl 6
    1. Hello World - scalar variables
    2. Hello World - interpolation
    3. Reading from the keyboard
    4. Numerical operations
    5. Automatically convert string to number
    6. String operators
    7. String concatenation
    8. String repetition
    9. if statement - comparing values
    10. Ternary Operator
    11. Comparison Operators
    12. Boolean expressions (logical operators)
    13. Chained comparisons
    14. Comparing values - Calculator
    15. Calculator - given
    16. String functions: index
    17. String functions: substr
    18. Super-or (junctions)
  3. Files in Perl 6
    1. exit
    2. warn
    3. die
    4. Twigils and special variables
    5. Read line from file
    6. Read all the lines with get
    7. Process a file line by line
    8. Write to a file
    9. Open file modes
    10. slurp
    11. Read lines into array
    12. Exercise: Print sum of numbers
    13. Solution: Print sum of numbers
  4. Perl 6 Lists and Arrays
    1. List Literals, list ranges
    2. List Assignment
    3. Swap two values
    4. Loop over elements of list with for
    5. Create array, go over elements
    6. Array elements (create menu)
    7. Array assignment
    8. Command line options
    9. Process CSV file
    10. join
    11. The uniq functions
    12. Looping over a list of values one at a time, two at a time and more
    13. Looping over any number of elements
    14. Missing values
    15. Iterating over more than one array in parallel
    16. Z as in zip
    17. xx - string multiplicator
    18. sort values
    19. Transform arrays and lists using map
  5. Meta Operators
    1. What are the meta operators
    2. Assignment Operators
    3. Method invocation in assignment
    4. Calling a function during assignment
    5. Negated Relation Operators
    6. Reversed operators
    7. Hyper Operators
    8. Reduction operators
    9. Reduction Triangle operators
    10. Cross operators
  6. Perl 6 Hashes
    1. Hashes (Associative Arrays)
    2. Fetching data from a hash
    3. Multidimensional hashes
    4. Count words
    5. Overview of hashes
    6. slurp hash
    7. kv
    8. Looping over keys of a hash
  7. Subroutines
    1. Subroutines in Perl 6
    2. Simple definition with required parameters
    3. Subroutine with arbitrary number of parameters
    4. Passing arrays and hashes
    5. Multiple signatures
    6. Optional parameters
    7. Named only parameters
    8. No parameter definition - perl 5 style
    9. Fibonacci
    10. Creating Operators
    11. Create your own operator
  8. Perl 6 Regexes
    1. Regexes in Perl 6
    2. Match digit
    3. Match Any character
    4. Escape characters
    5. Spaces in regex
    6. End of string anchors
    7. Ranges
    8. Regex Arithmetic
    9. Regex Quantifier
    10. Quantifier 2
    11. Match several words
    12. Alternates
    13. Match object
    14. Capture
    15. Named Regex
    16. Capture with quantifier
    17. Reuse capture
    18. Word boundary
    19. Rules
    20. Tokens
    21. Replace
    22. Grammar
    23. Grammar with error handling
    24. Grammar that is easier to extend
    25. Grammar subclass
  9. Junctions in Perl 6
    1. Junctions
    2. More tutorial with Junctions
  10. Modules in Perl 6
    1. Exporting subs from modules
  11. Object Oriented Perl 6
    1. Simple Point class
    2. Read/write attributes and accessors
    3. Class Methods
    4. Private Attributes
    5. Method with parameters
    6. Inheritence of classes
    7. Classes in Perl 6
  12. Testing in Perl 6
    1. skip a test
  13. Perl 5 to Perl 6
    1. Intro
    2. Hello World
    3. Scalars
    4. Arrays
    5. Hashes
    6. Control Structures
    7. Functions
    8. Files
    9. Modules, Classes
    10. Perl 5 to Perl 6
  14. Shell to Perl 6
    1. Intro
    2. Running external command from Perl 6 (shell, QX)
    3. Unix commands in Perl 6
    4. awk
    5. cat
    6. cd in Perl 6
    7. chmod
    8. chown
    9. cmp
    10. compress
    11. cut
    12. date
    13. diff
    14. df
    15. dos2unix
    16. du
    17. file
    18. find
    19. grep
    20. gzip
    21. head
    22. kill
    23. ln
    24. ls or dir in Perl 6
    25. mkdir
    26. mv
    27. ps
    28. popd
    29. pushd
    30. Current Working Directory in Perl 6 (cwd, pwd, $*CWD)
    31. rmdir
    32. rm
    33. sed
    34. sort
    35. tail
    36. tar
    37. touch
    38. uniq
    39. unix2dos
    40. wc
    41. who
    42. zip
    43. Other UNIX command
  15. Appendix
    1. grok and App::Grok
    2. Using 3rd party Perl 6 modules
    3. Timestamp and elapsed time in Perl 6
    4. Thanks


Perl 6 Tricks and Treats newsletter

Register to the free newsletter now, and get updates and news.
Email:
Name: