Help for this page

Select Code to Download


  1. or download this
    class H::Actions {
        # construct a hash from a list of pairs
    ...
        # construct a Str => Match pair
        method pair($/) { make ~$<key> => $<mash> };
    }
    
  2. or download this
    my @a = @($/<pairs><pair>)
    
    make %( @a».<key>».Str Z=> @a».<mash> )