Help for this page

Select Code to Download


  1. or download this
    %data = << why dunno who them where there which this >>;
    
  2. or download this
    (why => "dunno", who => "them", where => "there", which => "this")
    
  3. or download this
    multi sub infix:=(List of Pair @assign is rw, List of Pair @values) re
    +turns List of Pair {
      my %assign := *@assign;
    ...
      }
      return *%assign;
    }
    
  4. or download this
    my $fish = "hest";
    ($sheep, $goats, $fish) := part Animal::Cat, @animals;
    
  5. or download this
    my $hest = "hest";
    %result := ($sheep, $goats, fish => $hest) := part Animal::Cat, @anima
    +ls;
    
  6. or download this
    ($sheep, $goats, $fish => "hest") := part Animal::Cat, @animals;