Perl 6
WITCH: Revision 25
^ What Is This Character Here?

The Perl6 WITCH is mostly a bunch of hyperlinks that allows one to find documentation for operators, special variables and other features when there is a "mystery character" whose usage is not understood.

Start by clicking on the character you do not understand the usage of. You will be brought to a page that tells how the character is used and/or can point you to compound operators or other uses for the character.

> < "left pointy"[WITCH lpointy]
> > "right pointy"[WITCH rpointy]
> [ "left boxy"[WITCH lboxy]
> ] "right boxy"[WITCH rboxy]
> ~ "squiggle"[WITCH squiggle]
> ! "bang"[WITCH bang]
> * "star"[WITCH star]
> \ "backslash"[WITCH hack]
> / "slash"[WITCH slash]
> _ "underscore"[WITCH underscore]
> « "left french"[WITCH lfrench]
> » "right french"[WITCH rfrench]
> ^ "hat"[WITCH hat]
> f "small f"[WITCH littlef]
> o "small o"[WITCH littleo]
> x "small x"[WITCH littlex]

In addition to a handy way to find out what an operator does, it also helps show how Perl 6 tries to allocate characters to uses that have similar or related semantics, by collecting a list of the various uses of a character in one place. Also mentioned are uses of characters from Perl5 and some other languages, so the index can also be used in a _"how do I?"_ fashion.

Want to help build this? Make sure your favorite character, usage, or feature is documented... and that your favorite documentation is linked in. See the [WITCH guidelines] for some tips.


Good idea, but did you mean to say "Which?" instead of "WITCH":


Also some characters in column 1 are specially interpreted by the wiki (for example, ">" means indent and causes blank lines to be inserted, when doing a Save), so I indented the list to avoid that problem.

_contributed by {user:} on {date: 2008-01-25 00:45:48 GMT}_


No, WITCH is correct, and stands for What Is This Character Here. Which I tried to get highlighted but the bold markup doesn't like being embedded in a word. Yeah if any characters are being interperated as markup where they shouldn't, enclose in {{}}.

(R.e. WHICH -- probably best not to mince with introspection .WHICH)

_contributed by {user:} on {date: 2008-01-25 01:06:15 GMT}_

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.