title: What exactly does Perl's "bless" do?
body: <p>I understand one uses the "bless" keyword in Perl inside a class's "new" method:</p>
  
  <pre><code>sub new {
      my $self = bless { };
      return $self;
  }    
  </code></pre>
  
  <p>But what exactly is "bless" doing to that hash reference ? </p>