Perl 6
Perl Table Index: Revision 21
{link: A} | {link: B} | {link: C} | {link: D} | {link: E} | {link: F} | {link: G} | {link: H} | {link: I} | {link: J} | {link: K} | {link: L} | {link: M} | {link: N} | {link: O} | {link: P} | {link: Q} | {link: R} | {link: S} | {link: T} | {link: U} | {link: V} | {link: W} | {link: X} | {link: Y} | {link: Z}

This Index contains short explanations for all Operators, Methods, Buildins and some technical Terms.

* *!* - logische Verneinung, erzwingt Binärkontext; sekundäre Sigil privater Klassenvariablen
* *!!* - zweiter Teil des ternären Operators
* *!!!* - yadda Operator
* *!* - Synonym für ">="
* *!=* - abgedrehtes Synonym für ">"
* *!=* - prüft Ungleichheit im numerischen Kontext, kurz für "!=="
* *!=:=* - prüft negiert auf Binding
* *!==* - prüft Ungleichheit im numerischen Kontext, negierte Form
* *!===* - prüft Identität, negierte Form
* *!>* - Synonym für "<="
* *!>=* - Synonym für "<"
* *!~~* - negierter smartmatch Operator
* *!eq* - Synonym für "ne"
* *!eqv* - negierte Form, der dynamischen Eqvivalenz
* *!ge* - Synonym für "lt"
* *!gt* - Synonym für "le"
* *!le* - Synonym für "gt"
* *!lt* - Synonym für "ge"
* *#* - leitet Kommentar ein der bis zum Ende der Zeile geht
* *$* - Sigil der Skalare; dereferenziert
* *%* - gibt Rest einer Modulo-Division, erzingt numerischen Kontext; Sigil der Hashes
* *&* - junctives and, verlangt das alle Bedingungen erfüllt sind; liefert subref
* *&&* - logisches and, verknüpft Aussagen, beendet Auswertung bei erstem Ausdruck mit unwahrem, leerem Ergebnis und liefert es zurück
* *()* - Gruppierung von Werten (Parametern)
* * - multipliziert Zahlen und erzwingt numerischen Kontext; kennzeichnet slurpy Arrays in Signaturen; sekundäre Sigil globaler Variablen; Synonym für Inf in Verbindung mit einem Bereichsoperator (".."); kennzeichnet Ende eines Arrays im Sliceopertor um auf Indizes relativ vom Ende des Arrays zuzugreifen
* ** - potenziert Zahlen und erzwingt numerischen Kontext
* *+* - addiert Zahlen und erzwingt numerischen Kontext
* *+&* - bitweises und, numerischer Kontext
* *++* - Autoincrement
* *+* - link shiften, numerischer Kontext
* *+>* - rechts shiften, numerischer Kontext
* *+^* - bitweises xor, numerischer Kontext
* *+|* - bitweises oder, numerischer Kontext
* *,* - Arrayoperator
* - - subtrahiert Zahlen und erzwingt numerischen Kontext
* *--* - Autodecrement
* *-->* - alternativer Syntax um Parameter zu typisieren
* -> weist Block benannte Parameter zu (pointy block)
* *.* - sekundäre Sigil öffentlicher Accessoren (getter/setter)
* *..* - arrayerzeugender Bereichsoperator; im Skalarkontext erstellt es ein Bereichsobjekt, siehe smartmatch
* *...* - yadda Operator
* */* - Division, numerischer Kontext
* *//* - err Operator, liefert ersten definierten Wert
* *:* - konvertiert Dezimalzahl auf andere Basis; pair generation operator
* *::* - Namespacetrenner wie in Perl5
* *::=* - Binding zur Compiletime
* *:=* - erzeugt Alias auf Variable (Binding)
* *;* - trennt Befehle (Ausdrücke) oder Arrayindizes wie z.B. @a[2;3] statt @a[2]3
* *<* kleiner als, numerischer Vergleichsoperator
* *<>* double pointy Syntax um einem Block `rw` Parameter zuzuweisen*
* *<<* - wendet den Operator links als Hyperoperator auf den Array rechts an
* *<==* - linker feed-Operator im append-mode
* *>* - circumfixer Operator zum gruppieren mit autoquoting (vormals qw()), jedoch interpolierend wie ""
* *<=* - kleiner gleich, numerischer Vergleichsoperator
* *<==* - nach links zuweisender feed-Operator
* *<=>* - numerischer Vergleichsoperator, benutzt Order Klasse
* *< >* circumfixer Operator zum gruppieren mit autoquoting (vormals qw())
* *=* - infix: Zuweisung; präfix:Zeile aus einem Datenstrom im Skalarkontex. Ähnlich wie früher Diamantoperator '<>', siehe
* *=:=* - prüft auf Binding
* *==* - Gleichheit von Zahlen
* *===* - Gleichheit von Inhalt und Typ
* *==>* - nach rechts zuweisender feed-Operator
* *==>>* - feed-Operator, der Werte an vorhande Liste anhängt (append-mode)
* *>* - grösser als, numerischer Vergleichsoperator; beendet Gruppierung mit autoquoting (vormals qw())
* *>=* - grösser gleich, numerischer Vergleichsoperator
* *>>* - bindet Operator (rechts) als Hyperoperator an einen Array (links);
* *?* - konvertiert Wert in Binärkontext; kennzeichnet optionale Parameter in Signaturen; sekundäre Sigil von konstanten Kompiler-Info-Variablen
* *?&* - and-Verknüpfung, erzwingt Binärkontext
* *?? !!* - ternärer Operator
* *???* - yadda Operator
* *?^* - xor-Verknüpfung, erzwingt Binärkontext
* *?|* - or-Verknüpfung, erzwingt Binärkontext
* *@* - Sigil der Arrays
* *@@* - Sigil für Multislice-Kontext
* *[]* - circumfixer Operator der eine Arrayreferenz erstellt, wenn er eine Liste umschließt; hinter einem Array liefert der Ausdruck einen Teilarray (slice), der diejenige Elemente des originalen Arrays enthält, deren Index innerhalb der eckigen Klammern steht; umhüllt auch Reduktionsoperatoren
* *\* - Capture Operator, erzeugt Referenz auf folgende Struktur
* *^* - junctives xor, verlangt das ein Wert der Menge die Bedingung erfüllt; bei Bereichsangaben (..) schliesst es Grenzwerte aus. Im Skalarkontext siehe smartmatch, im Arraykontext siehe Arrayerzeugende Operatoren; sekundäre Sigil der automatisch benannten Parameter eines Blocks
* *^^* - logisches xor, verknüpft Aussagen, ist nur einer der verknüpften Werte wahr, wird dieser zurückgegeben, ansonst liefert er unwahr
* *{ }* - circumfixer Operator: umschließt Blöcke und erstellt eine coderef oder eine Hashref wenn es als `hash` gekennzeichnet ist oder ein '=>' enthält
* *|* - dereferenziert Capture; junctives or, verlangt das eine Bedingung erfüllt ist;
* *||* - logisches oder, verknüpft Aussagen, beendet Auswertung bei erstem Ausdruck mit wahrem Ergebnis und liefert es zurück
* *~* - verknüpft Texte und erzwingt String Kontext, Synonym für cat
* *~&* - zeichenweises and, erzwingt String Kontext
* *~* - zeichenweiser linksshift, erzwingt String Kontext
* *~>* - zeichenweiser rechtsshift, erzwingt String Kontext
* *~^* - zeichenweises xor, erzwingt String Kontext
* *~|* - zeichenweises or, erzwingt String Kontext
* *~~* - smartmacht Operator, sucht, ersetzt und prüft (fast) alles

^^ A

* *abs* - liefert numerisch absoluten Wert
* *after* - Vergleichsoperator der Order-Klasse benutzt, wahr wenn links nach rechts kommt
* *all* - junctiver UND Operator
* *and* - logischer UND Operator
* *andelse* - logischer UND Kurzschlußoperator der Errorcode weitergibt
* *any* - junctiver ODER Operator
* _Array_ - in Perl eine Liste von Skalarvariablen, oder eine Variable die einen solchen Array speichert
* *as* - Skalarmethode, konvertiert wie sprintf
* *assuming* - Methode aller Subroutinreferenzobjete die Currying ermöglicht

^^ B

* *before* - Vergleichsoperator der Order-Klasse benutzt, wahr wenn links vor rechts kommt
* _Binding_ - 2 aneinander gebundene Variablen haben stets gleichen Inhalt
* _Block_ - durch geschweifte Klammern zusammengefasste Ansammlung von Befehlen
* *but* - verändert Variableneigenschaften zur Laufzeit
* *BUILD* -
* *BUILDALL* -
* *by* - setzt Intervalle für Bereichsoperator (..)
* *bytes* - Anzahl verwendeter Bytes, Skalarmethode

^^ C

* *cached* - sub trait
* *call* - Aufruf der umhüllten subroutine von der umhüllenden
* *caller* - Objekt das Informationen über Aufrufer der derzeitigen Routine enthält
* *callwith* - submethode mit Hilfe derer man eine sub mit alternativen Signatur aufrufen kann
* _capture_ - Objekt das eine Gruppe (ein bis mehrere) Variablen aufnehmen kann wie sie in einer Signatur auftreten können
* *cat* - verknüpft Strings, Synonym für '~' und Arraymethode
* *chars* - Anzahl der Zeichen, Skalarmethode
* *chdir* -
* *chmod* -
* *chomp* - enfernt letztes Zeichen, wenn es ein Zeilentrenner ist, Skalarmethode
* *chop* - enfernt letztes Zeichen und liefert es zurück, Skalarmethode
* *chown* -
* *class* - leitet eine Klasse ein, die Objekte definiert
* *close* - Methode der Klasse Filehandler, die verbindung mit einer Datei schliesst
* _closure_ - Routinen deren Kontext (Inhalt aller lokalen Variablen) bis zur nächsten Ausführung vollständig gespeichert wird
* *cmp* - vergleicht Werte, benutzt Order Klasse
* _Coderef_ - Referenz (Zeiger) auf eine ausführbares Stück Programm (Routine)
* _compiletime_ - Kompilierzeit, Zeitpunkt des Programmstarts, oder wenn der betreffende Befehl in ausfürbare Form umgewandelt wird
* _Context_ - Perl orientiert sich beim Auswerten eines Ausdrucks an den verwendeten Operatoren oder der Typ der Ergebnis - Variable (z.B. Skalar), um ein in diesem Zusammenhang (lat. Kontext) sinnvolles Ergenis zu erzeugen.
* _Context variable_ - die Kontexvariable $_ wird von eingebauten Perl-Befehlen verwendet wenn notwendige Parameter ausgelassen werden.
*
* *continue* - zwingt den Interpreter auch folgende when Klauseln zu prüfen
* *CREATE* -
* _Currying_ -

^^ D

* *default* - else Klausel einer switch-Anweiseung (given)
* _Deklarative Programmierung_ -
* *defined* - prüft Variable oder Variablenelement ob es einen definierten Inhalt hat, Skalarmethode
* *delete* - löscht Element, Array und Hashmethode
* _Design by Contract_ - Programmierstil bei dem Parameter und Rückgabewerte von Routinen Bedingungen erfüllen müssen; Eine Signatur gilt als contract in Perl 6
* *DESTROY* -
* *DESTROYALL* -
* *dim* - Arraydimensionierung
* *div* - Division, erzeugt Bruchobjekte im Integer Kontext
* *do* - führt Block aus (do once loop)
* *does* - prüft ein Objekt ob es diese role vollführt

^^ E

* *elems* - Anzahl der Elemente, Arraymethode
* *else* - leitet Alternativblock ein, nach if, elsif und unless
* *elsif* - alternative if-Klausel
* *eq* - gleich (equal), vergleicht Strings
* *equiv* - sub trait, die relativen Vorrang eines Operators angibt
* *eqv* - vergleicht dynamischen Jetztzustand von Objekten und Werten auf Identität im Gegensatz zum statischen ===
* *err* - gibt ersten definierten Wert(von Links) zurück, logischer Operator
* _Exception_ - zu deutsch: Ausnahme, ein Fehler der den normalen Programmablauf unterbricht, Perl 6 bietet Mechanismus sie zu erzeugen und abzufangen
* *exists* - prüft auf Existenz einer Variable oder Variablenelements, Skalarmethode

^^ F

* *Failure* - Datentyp für einen Auftrenden Fehler der eine bisher nicht behandelte Exception
* *ff* - Flipflop-Operator im awk Stil, vormals .. im Skalarkontext
* *fff* - Flipflop-Operator im sed Stil, vormals ... im Skalarkontex
* *fmt* - Skalarmethode, Kurzform für sprintf
* *for* - iteriert über Arrays, Blockmodifikator
* _Functional Programming_ - style of programming based totally on functions

^^ G

* *gather* - performs the following block once, returns a list of all values passed by 'take'
* *ge* - greater than on equal, string comparison
* *given* - case construct puts a value into the context variable for when clauses
* *goto* - flow control, transfer execution to a defined label
* *grammar* - special kind of class to hold regex token and rule definitions
* *group*
* *gt* - greater than or equal, string comparison

^^ H

* *has* - creates an attribute for an object
* *handles* - delegates execution of a function to another method
* *hash* - sets hash-list context
* _Hash_ - two column table, values in one column are keys to refer to the values in the other column

^^ I

* *if* - flow control conditional statement or block modifier, executes code only when a condition expression evaluates to true
* *index* - finds the first occurrence of a substring from a position in a string
* *Inf* - infinity, to generate infinite lazy lists
* *inline* - sub trait
* *int* - extract a whole number value, discarding fractional part
* *is* - bind a traits to a variable
* _Iteration_ - flow control, repeatedly executing a block

^^ J

* *join* - concatenates list elements into a string, optionally inserting another string between the elements

^^ K

* *:key* - means the key part of a pair
* *keys* - hash method returns list of hash keys
* *kv* - hash method returns list of key-value pairs

^^ L

* *last* - flow control, end the current looping block
* *last* - number of final element, array method
* *le* - lower than or equal, string comparison
* *leave* - flow control, exit the current block
* *leg* - lower/equal/greater comparator for text
* *let* -
* *loop* - general flow control command for repetition
* *looser* - sub trait, defines relative precedence of an operator
* *lt* - lower than, string comparison

^^ M

* *macro* - define a routine to alter source code at compile time
* *map* - take a list, perform a block on each member, return a list of the results Arraymethode
* *match* - compare a string to a regex/token/rule
* *max* - returns the numerically largest value from a given list
* *method* - defines a method in a class
* _Method_ - object oriented function or subroutine in a class
* *min* - returns the numerically smallest value from a given list
* *minmax* - returns the highest and lowest values from a list, as a 2 item list
* *mod* - generic modulo operator
* *module* - introduces a module name, a package that performs special actions on loading
* *multi* - sub and method overloading modifier to allow multimethod dispatch
* *my* - makes a variable or routine lexical, therefore exists and is valid only in the current scope (usually a block)

^^ N

* *new* - creates a new object of a class, also name of the automatically called constructor method
* *next* - looping command to go to the start of the following iteration
* *none* - return true when a value is not part of a set, junctive NOT operator
* *not* - logical NOT operator, negates truth value, alternative to `!` with lower precedence

^^ O

* _Object Oriented Programming_ -
* *of* - sub trait, defines return type
* *one* - junctive XOR operator
* *only* - subroutine modifier, permits only a routine of the same name
* *or* - logical or operator
* *orelse* - logical or short circuit operator
* *our* - makes a variable or subroutine name visible in all the current package

^^ P

* *package* - Perl 5 namespace definition, becomes module and class in Perl 6
* *pair* - set pair context
* *pairs* hash method returns all contents as an array or pairs (key,value)
* _Parameter_ - value passed to a method or subroutine
* *parsed* - sub trait
* _Parsetree_ - hierarchical data representing the logical structure of a program
* _pointy block_ - a block that is given parameters with '->'
* *pop* - removes and returns the last element in an array
* *print* - sends characters to an output stream without adding a newline, see 'say'
* *printf* - formats text and sends it to standard output
* _property_ - metadata set at runtime
* *proto* - predeclaration of subroutine or method
* *push* - adds a list of values to the end of an array

^^ Q

^^ R

* *R* - (Meta Op) reverse operands
* *rand* - generate a floating point random number between 0.0 and 1.0
* _Range Operator_ - written as '..' in scalar context defines set of possible values for smartmatch, in list context makes a list of successive values
* *readline* - now called 'get', reads from an input stream until the next newline
* *redo* - re-starts processing of the current loop
* _Reference_ - address of data in memory, often termed a Capture in Perl 6
* *regex* - a pattern definition without :ratchet and :sigspace, can be put in a grammar, similar to qx// in Perl 5
* _Regular Expression_ - in Perl5: pattern matching notation, either regex, token or rule in Perl6
* *reparsed* - sub trait
* *return* - ends a subroutine and defines the value given to the caller
* *returns* - sub trait describing the type of value produced by a function
* *reverse* - array method returns all the members in the opposite order. Use 'flip' to turn a string back to front
* *rindex* - finds the last occurrence before a given position, of a substring within a string
* *role* - container for methods that can extend a class using does
* *rule* - regex :ratchet :sigspace in a grammar, see regex, token
* _Runtime_ - time when software is being used (not compiletime), or software components necessary for that, or length of time to execute

^^ S

* *say* - a function like print that also appends a newline (\n)
* _Scope_ - the block of code within which an identifier is usable
* *:seed* - initialize a random number generator, optionally with a value
* _Signatur_e - Information about the expected parameters for subroutine, in Perl6 the round parentheses after the `sub` command
* *signature* - sub trait
* _scalar_ - variable that holds a single value
* _slice_ - part of an array
* *slurp* - reads a entire file into a string
* _slurpy Array_ - array parameter that receives all (slurps) all optional subroutine arguments
* *split* - makes an array of substrings from a string and a separator
* *sprintf* - like printf but returns the string instead of outputting it
* *state* - declares variables known only in the enclosing block, that retain their values between invocations
* _String_ - series of characters, text
* *sub* - defines a subroutine, block modifier
* *submethod* - method not inherited by subclasses
* _Subroutine_ - block of code callable by name
* *subset* - define a subtype, eg subset Month of Int where { 1 <= $^a <= 12 }
* *substr* - the substring function

^^ T

* *take* - produces a return value in a gather block
* *temp* - defines variables as temporary, synonym for the Perl 5 local
* *tighter* - sub trait, that indicates relative order of operator precedence
* *token* - kind of regex :ratchet (no backtracking), part of a grammar
* _Topicalizer_ - every keyword that sets the $_ variable, eg given, for
* _Trait_ - additional property of a variable, defined at compile time, see but
* *true* - boolean value
* _Twigil_ - second(ary) Sigil indicating a special property of a variable

^^ U

* *undef* - undefined, Perl word for 'empty'
* *unless* - flow control modifier, opposite of if, runs block if expression is false
* *until* - block modifier, opposite of while, runs block repeatedly is long as expression is false
* *unwrap* - remove an enclosing subroutine
* *use* - load a module, import definitions, check Perl version

^^ V

* *values* - hash method returns an array of just the values

^^ W

* *want* - produces a signature object that provides information about the context from which the current routine was called
* *Whatever* - an undefined type used as wildcard (like undef) [S12]
* *when* - executes its code block if a 'given' value smartmatches
* *where* - defines subtypes of data, eg subset Month of Int where { 1 <= $^a <= 12 }
* *while* - flow control modifier runs block repeatedly as long as en expression is true
* *wrap* - creates enveloping subroutine

^^ X

* *x* - string replicate operator to single string, eg 'ab' x 3 == 'ababab'
* *X* - Cross product of two arrays, eg 1,2 X 3,4 == 1,3,1,4,2,3,2,4
* *X*<op> - Cross product with hyper operator, eg <a b> X~ <y z> == <ay az by bz>
* *xor* - boolean exclusive or operator
* *xx* - string replicate operator to array, eg 'ab' xx 3 == <ab ab ab>

^^ Y

^^ Z

* *Z* - zip operator, eg 1,2,3,4 Z 8,9 == 1,8,2,9

{link: A} | {link: B} | {link: C} | {link: D} | {link: E} | {link: F} | {link: G} | {link: H} | {link: I} | {link: J} | {link: K} | {link: L} | {link: M} | {link: N} | {link: O} | {link: P} | {link: Q} | {link: R} | {link: S} | {link: T} | {link: T} | {link: U} | {link: V} | {link: W} | {link: X} | {link: Y} | {link: Z}


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: