|
Perl 6
WITCH: Revision 17
^ 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] > ~ "squiggle"[WITCH squiggle] > \ "backslash"[WITCH hack] > / "slash"[WITCH slash] > _ "underscore"[WITCH underscore] > « "left french"[WITCH lfrench] > » "right french"[WITCH rfrench] > 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": > http://www.google.com/search?q=define%3A+witch&sourceid=navclient-ff&ie=UTF-8&rlz=1B3GGGL_enUS220US220 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: conrad.schneiker@gmail.com} on {date: 2008-01-25 00:45:48 GMT}_ |