Perl 6
Perl 6 Operator Tablet: Revision 20

Overview - Chapter: 0:History, 1:Design, 2:Basics, 3:Var, 4:Op, 5:IO, 6:{}, 7:Sub, 8:OOP, 9:Rx, 10:Meta
Intro - Appendices: A:Index, B:Tables, C:Cook, D:Delta, E:Best of, F:Links




Perl folkore: Perl is an operator based language.

Comparison and testing in the scalar context

Smartmatch

~~ !~

Equality

eqv eq == ===
!= !==

Generic Comparsion

before after cmp

Numerical Comparsion

< == > <=> <= >=

String Comparsion

lt eq gt leg le ge

joined comparison

3 < $a == $a < 7

is not the same as

3 < $a < 7

because latter is evaled at once and the first in 2 steps (left to right)

junctions

| & ^

logical selection

&& - and
|| - or
// - err
^^ - xor

ternary

?? !!

flipflop

ff fff

file test

table

yadda

...
???
!!!

context forcing scalar ops

bool context

? !
?& ?| ?^

numeric context

+ - * ? / % %%
+& +| +^ +< +>

numerical selection

min max minmax

String context

~ x
~& ~| ~^ ~< ~>

Ops for arrays/lists

List generation

.. ... xx

Zip

Z

Combinators

X

Hyperops

<< >>

Reduce

[ ]

Triangle

[\ ]

Feed Ops

<== ==>

Assignment ops

self assigning ops

precedence table

is in Appendic B

intentionally not existing ops

making own operators


Overview - Chapter: 0:History, 1:Design, 2:Basics, 3:Var, 4:Op, 5:IO, 6:{}, 7:Sub, 8:OOP, 9:Rx, 10:Meta
Intro - Appendices: A:Index, B:Tables, C:Cook, D:Delta, E:Best of, F:Links



Upload Files

Click "Browse" to find the file you want to upload. When you click "Upload file" your file will be uploaded and added to the list of attachments for this page.

Maximum file size: 50MB

 
 
 
File Name Author Date Uploaded Size

Save Page As

Enter a meaningful and distinctive title for your page.

Page Title:

Tip: You'll be able to find this page later by using the title you choose.

Page Already Exists

There is already a page named XXX. Would you like to:

Save with a different name:

Save the page with the name "XXX"

Append your text to the bottom of the existing page named: "XXX"

Upload Files

Click "Browse" to find the file you want to upload. When you click "Add file" this file will be added to the list of attachments for this page, and uploaded when you save the page.

 
 
 
Add Tags

Enter a tag and click "Add tag". The tag will be saved when you save the page.

Tag: 

Suggestions: