Documentation for routine < >

Documentation for routine < >, assembled from the following types:

language documentation Operators

From Operators

(Operators) term < >

The quote-words construct breaks up the contents on whitespace and returns a List of the words. If a word looks like a number literal or a Pair literal, it's converted to the appropriate number.

say <a b c>[1];   # OUTPUT: «b␤» 

language documentation Operators

From Operators

(Operators) postcircumfix < >

Shortcut for postcircumfix { } that quotes its argument using the same rules as the quote-words operator of the same name.

my %color = kiwi => "green"banana => "yellow"cherry => "red";
say %color<banana>;               # OUTPUT: «yellow␤» 
say %color<cherry kiwi>.perl;     # OUTPUT: «("red", "green")␤» 
say %color<strawberry>:exists;    # OUTPUT: «False␤» 

This is not a real operator, just syntactic sugar that is turned into the { } postcircumfix operator at compile-time.