title: Not Able to Set Class' Attributes in Role
body: <p>First off, I'm not really sure how much information is necessary to include because I'm having a really hard time tracing the origin of this problem.</p>
  
  <p>I have a Moose role with a subroutine that (along with a few other things) tries to set the attributes for a class like this:</p>
  
  <pre><code>$genre = Movie::Genre-&gt;new({
      genreName =&gt; 'Drama',
      genreID =&gt; '1'
                   });
  </code></pre>
  
  <p>The problem is, it doesn't.  The dump of <code>$genre</code> immediately after, indicates that it's still empty:</p>
  
  <p><code>$genre: bless( {}, 'Movie::Genre' )</code></p>
  
  <p>Stranger still, when I execute THE EXACT SAME LINE in my test file, it works as expected with this dump:</p>
  
  <pre><code>$genre: bless( {
               genreID =&gt; '1',
               genreName =&gt; 'Drama'
             }, 'Movie::Genre' )
  </code></pre>
  
  <p>I'm struggling to find what makes these two lines of code different, causing one to work and one to fail.</p>
  
  <p>Any ideas as to what conditions would cause the first example to fail and allow the second to succeed? I'd be happy to provide more context if necessary. Thanks!</p>