There are no tags for this page.
Perl 6
WITCH lcurly


"code", "block", "enclose", "brace yourself"

    • primary use is to enclose literal code
    • also used for hashes

Used as a brace pair or quote pair

{} creates a Closure
{} after a class name (is just a closure but) means create a pre-vivification protoobject.
{} except with specific contents inside or as part of a variable term denotes use for hashes
{} empty as part of a term allows hashes to be interpolated
{} during hash declaration sets up user defined indexing
{} injects hash information in POD delimited blocks
{} when used as a user supplied delimiter to a quote, match, or substitution, is merely a general quoting character

When used inside regexes

{} within a rule institutes an "action"<>
{} also in a substitution injects code execution in a match
{N} or {N..M} postfix to a match term is a repeat count (a closure returning a range)
<{}> in extensible metasyntax allows injection of rules generated by code.
<?{}> or <!{}> also extensible metasyntax performs an assertion.

As an adverb

{} can be used as parenthesisers in adverbs

Old, deprecated, or other language uses

{N,M} is used as a repeat count in many regular expression implementations. In Perl6 that is ** N..M


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.