|
Perl 6
Perl 6 Operator Tablet: Revision 14
Overview - Chapter: 0:History, 1:Design, 2:Basics, 3:Var, 4:Op, 5:IO, 6:{}, 7:Sub, 8:OOP, 9:Rx, 10:Meta Perl folkore: Perl is an operator based language. Comparison and testing in the scalar contextSmartmatch~~ !~ Equalityeqv eq == === Numerical Comparsion< == > <=> <= >= String Comparsionlt eq gt leg le ge joined comparison3 < $a < 7 junctions| & ^ logical selection&& - and ternary?? !! flipflopff fff file testyadda... context forcing scalar opsbool context? ! numeric context+ - * ? / % %% numerical selectionmin max minmax String context~ x Ops for arrays/listsArray generation.. ... xx Feed Ops<== ==> Hyperops<< >> CombinatorsX Reduce[ ] Assignment opsself assigning opsprecedence tableintentionally not existing opsmaking 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 |