home of szabgab
About
Contact
Keywords
Archive
!=
$0
$_
$a
$b
$|
%SIG
(?< name >...)
*
+
-d
-e
-v
.
..
//
1;
5.010
5.10
<
<$fh>
<=
<=>
==
=cut
=head1
=head2
=pod
>
>=
>>
@EXPORT_OK
@INC
[]
\k< name >
^
__WARN__
abs_path
ack
any
append
array
bareword
case
close
cmp
context
copy
cp
CPAN
CSV
Cwd
Dancer
Data::Dumper
DBD::SQLite
DBI
debug
declaration
default
defined or
del
delete
die
dirname
distinct
documentation
download
duplicate
editor
email
Email::Send::SMTP::Gmail
eq
Exporter
ExtUtils::MakeMaker
File::Basename
File::Open
File::Open::OOP
filter
flip-flop
fopen
for
foreach
function
ge
given
gmtime
grep
gt
HTTP::Server::Simple
HTTP::Server::Simple::CGI
IDE
implode
index
install
int
integer
join
lc
le
length
lib
LIST
List::MoreUtils
local
localtime
loop
lt
map
Moose
move
mv
my
named capture
ne
object oriented
ok
one-liner
OOP
oopen
open
open or die
our
package
Padre
perl
PERL5LIB
Perl::Critic
Perl::Critic::Bangs
perldoc
PERLLIB
Plack
plackup
POD
print
PSGI
rand
random
range
regex
remove
rename
REPL
return
rm
say
SCALAR
size
smart match
Smolder
sort
splice
split
SQL
state
strict
sub
subroutine
substr
SVG
switch
symbolic references
TAP
TAP::Formatter::HTML
Test::Harness
Test::Simple
testing
Text::CSV_XS
time
Time::HiRes
topic
uc
undef
uninitialized value
uniq
unique
unlink
use
use vars
v5.10
vars
warnings
WebService::GData
WebService::GData::YouTube
when
while
while (1)
write
x
YouTube
~~
Perl Tutorial
Test Automation
Perl Training
Table of Contents - Introduction to Perl 6
Introduction to Perl 6
Getting started
Other resources
Installing Rakudo
Development Environment
Running Rakudo
Hello World
Comments
POD - Plain Old Documentation
First steps in Perl 6
Hello World - scalar variables
Hello World - interpolation
Reading from the keyboard
Numerical operations
Add
String operators
String repetition
if statement - comparing values
Naked if statement
Other forms of the if statement
Ternary Operator
Comparison Operators
Boolean expressions (logical operators)
Chained comparisons
Comparing values - Calculator
Calculator - given
String functions: index
String functions: substr
Super-or (junctions)
Files in Perl 6
exit, warn, die
Read line from file
Process a file line by line
Write to a file
Open file modes
slurp
read lines into aray
Exercise: Print sum of numbers
Solution
Twigils and special variables
Perl 6 Lists and Arrays
List Literals, list ranges
List Assignment
Swap two values
loop over elements of list with for
Create array, go over elements
Array elements (create menu)
Array assignment
Command line options
Process CSV file
join
The uniq functions
Looping over a list of values one at a time, two at a time and more
Looping over any number of elements
Missing values
Iterating over more than one array in parallel
xx - string multiplicator
sort values
Meta Operators
Assignment Operators
Negated Relation Operators
Reversed operators
Hyper Operators
Reduction operators
Reduction Triangle operators
Cross operators
Perl 6 Hashes
Associative Arrays (Hashes)
Fetching data from a hash
Multidimensional hashes
Count words
Overview
slurp
kv
Looping over keys of a hash
Subroutines in Perl 6
Simple definition with required parameters
Subroutine with arbitrary number of parameters
Passing arrays and hashes
Multiple signatures
Optional parameters
Named only parameters
No parameter definition - perl 5 style
Fibonacci
Creating Operators
Perl 6 Regexes
Regexes in Perl 6
Match digit
Match Any character
Escape characters
Spaces in regex
End of string anchors
Ranges
Arithmetic
Quantifier
Quantifier 2
Match several words
Alternates
Match object
Capture
Named Regex
Capture with quantifier
Reuse capture
Word boundary
Named Regex
Rules
Tokens
Replace
Grammar
Grammar with error handling
Grammar that is easier to extend
Grammar subclass
Junctions in Perl 6
Junctions
More examples with Junctions
Modules in Perl 6
Exporting subs from modules
Object Oriented Perl 6
Simple Point class
Read/write attributes and accessors
Class Methods
Private Attributes
Method with parameters
Inheritence of classes
Classes in Perl 6
Perl 5 to Perl 6
Intro
Hello World
Scalars
Arrays
Hashes
Control Structures
Functions
Files
Modules, Classes
Perl 5 to Perl 6
Shell to Perl 6
Intro
Unix commands in Perl 6
awk
cat
cd in Perl 6
chmod
chown
cmp
compress
cut
date
diff
df
dos2unix
du
file
find
grep
gzip
head
kill
ln
ls
mkdir
mv
ps
popd
pushd
pwd
rmdir
rm
sed
sort
tail
tar
touch
uniq
unix2dos
wc
who
zip
Other UNIX command
Appendix
grok and App::Grok
Using 3rd party Perl 6 modules
Front page
If you are interested in on-site trainings by the author, please
contact me
directly.
Perl Weekly
A FREE newsletter
Click here to sign-up
Online courses:
Beginner
Perl Maven
Advanced
Perl Maven
Free
Perl Maven
Cookbook
Would you like to get
updated when I publish
the next article?
Follow me:
Via e-mail: