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
* just about anywhere else, is means whatever
* within a version number functions as a wildcard
* in a switch statement when clause is a synonym for default

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
** and **= can be used like you always have, for exponentiation
** just about anywhere else is a multidimensional whatever (see above)
.* calls all methods if there are duplicate method names
[*-1] as an array index not special syntax but is legal use of "whatever" to get at the last element of an array.

When used inside regexes

* and *? as a "0 or more" repeat count
** and **? is the new general repetition specifier (takes the place of {N.M})

Other Uses

* in a prototype designates an array or hash as slurpy

Hyper operator and meta operator restrictions

Generally as the core operator in any meta or hyper operator, * takes its multiplicative meaning.

Old, deprecated, or other language uses


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: