txt: ## bind-key.md
  BIND-KEY
  
  Combined from primary sources listed below.
  
  # [In Subscripts](#___top "go to top of document")[§](#(Subscripts)_method_BIND-KEY "direct link")
  
  See primary documentation
  [in context](/language/subscripts#method_BIND-KEY)
  for **method BIND-KEY**.
  
  ```raku
  multi method BIND-KEY (::?CLASS:D: $key, \new)
  ```
  
  Expected to bind the value or container `new` to the slot associated with `$key`, replacing any container that would be naturally found there. This is what is called when you write:
  
  ```raku
  my $x = 10;
  %age<Claire> := $x;
  
  ```
  
  The generic [`Hash`](/type/Hash) class supports this in order to allow building complex linked data structures, but for more domain-specific types it may not make sense, so don't feel compelled to implement it. If you don't, users will get an appropriate error message when they try to bind to an associative slot of an object of this type.
  