routine set

Documentation for routine set assembled from the following types:

class Collation

From Collation

(Collation) method set

Defined as:

method set (
    Int :$primary    = 1,
    Int :$secondary  = 1,
    Int :$tertiary   = 1,
    Int :$quaternary = 1)

Sets if the different levels should be used in ascending or descending order, or if they are going to be ignored (when set to 0).

my $*COLLATION = Collation.new;
say 'a' coll 'z'# OUTPUT: «Less» 
$*COLLATION.set(:primary(-1));
say 'a' coll 'z'# OUTPUT: «More» 

class Set

From Set

(Set) sub set

sub set(*@args --> Set)

Creates a Set from the given @args