title: Can't call method "getChildrenByTagNameNS" on unblessed reference?
body: <p>i am new in threads and this is what i do :</p>
  
  <pre><code>my $thread_fifo = threads-&gt;create(sub {Plugins::Fifo-&gt;run($conf, $products, $workfifo)});
  my $thread_liberty = threads-&gt;create(sub {Plugins::Fifo-&gt;run($conf, $products, $workliberty)});
  </code></pre>
  
  <p>and then : <code>$thread_fifo-&gt;join(); $thread_liberty-&gt;join();</code></p>
  
  <p>here is the Error message :</p>
  
  <pre><code>Thread 1 terminated abnormally: Can't call method "getChildrenByTagNameNS" on unblessed reference at C:/strawberry/perl/site/lib/XML/Atom/Util.pm line 61.
  </code></pre>
  
  <p>To see what is <code>$thread_fifo</code> I use ref and Dumper :</p>
  
  <p><code>print ref($thread_fifo); # output : threads</code></p>
  
  <p><code>print Dumper($thread_fifo); #output : $VAR1 = bless( do{\(my $o = '78589096')}, 'threads' );</code></p>
  
  <p>I know an unblessed reference error is where one variable is not a legal reference to an object, but yet trying to call a function on it as if it was a legal object, however i don't see where is the problem here, all i am trying to do is call two functions simultaneously.</p>
  
  <p>Thanks in advance.</p>