Home

Awesome

Perl Cool Snippets

Perl v5.10

Relative backreferece
Stacked file test operator
Part match
Smart match
Line ending
Delete hash
Defined-or
Method Resolution Order (dfs)
Method Resolution Order (c3)
Inheritance

Perl v5.12

Each array
Yada Yada
Delete local

Perl v5.14

Default modifier
Package block
ASCII flag
Random
Octal representation

Perl v5.16

Folding case
Current sub

Perl v5.18

Loop label
Regex sets

Perl v5.20

CLI switch
Hash slice
Method signature

Perl v5.22

Double Diamond
Word Boundary
Ref aliasing

Perl v5.24

Postfix deref

Perl v5.26

Hash size
/xx modifier
Heredocs
Capture (array)
Capture (hash)
Temp file

Perl v5.28

State
Bitwise

Perl v5.30

Max match

Perl v5.32

Chained comparison
ISA

Perl v5.34

Try/Catch
Number Syntax
Lower Bound

Perl v5.36

Method Signature
Defer
Defer return
For list
Try/Catch/Finally
Default arguments
Multiple Values
Indexed
Regex sets
ISA
Indirect object syntax
Boolean
ceil/floor
weaken
trim
sort
use version
reference
Non-ascii pattern delimiters
undef
help
slurp

Perl v5.38

Inhertiance
Singleton

Perl v5.40

CLASS
Class reader
Inheritance
Multiple Inheritance
For list
Try/Catch
XOR

Miscellaneous

dualvar
tainted
Subroutine lvalue
Tracker
Timer
Spinner
Test2::V0
Import