|
Perl 6
WITCH star: Revision 4
Mnemonics"splat", "dont care", "whatever" -- used when you do not care or want a sensible "largest default" Used alone
* can be used like you always have, for multiplication As a twigil* between a sigil and its identifier name denotes a contextualized variable, which is searched for in the nearest dynamic scope (including the processes environment, if not found sooner) Operators containing this character
*= mutant assignment form of multiplication When used inside regexes
* and *? as a "0 or more" repeat count Other Uses* in a prototype designates an array or hash as slurpy Hyper operator and meta operator restrictionsGenerally as the core operator in any meta or hyper operator, * takes its multiplicative meaning. Old, deprecated, or other language uses |