Perl 6
WITCH dash: Revision 4

Mnemonics

"negative", "number", "subtract"

-- usage is very intuitive


Used alone

- along with + coerces to type Num
- As an infix operator: subtracts numbers

Operators containing this character

- - pre and post decrement as in common parlance (which means use it like you would expect)

When used inside regexes

- at start of a character class changes the sense
- = the post-assignment mutant form of -

Other Uses

- has wildcard uses in version literals
- before a flag on the commandline results in normal values in a MAIN subroutine
- - > used to specify return type in a Signature
- > and < - > introduces a pointy block
[*-1] finds the last entry of an array which is not special sugar but worth noting.
+ is a border intersection in POD
- can be used in identifiers, along with _ and '

Old, deprecated, or other language uses

- > is no longer the method operator as in perl5. That is now . like most other languages.
- delimits character class ranges like in most regular expression implementations. Perl6 uses the .. Range operator for that instead.


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: