in reply to How to put Hash's on Thread::Queue

That should work (see Thread-Queue-2.11/t/02_refs.t). You probably need to upgrade threads::shared.

Replies are listed 'Best First'.
Re^2: How to put Hash's on Thread::Queue
by Anonymous Monk on May 13, 2009 at 11:01 UTC
    Confirmed, it works with
    C:\>pmvers threads threads::shared Thread::Queue threads: 1.72 threads::shared: 1.28 Thread::Queue: 2.11
    ActivePerl-5.8.9.825-MSWin32-x86-288577
      It doesn't work for me.
      -bash-3.00$ perl -MThread::Queue -e 'print $Thread::Queue::VERSION . " +\n"' 2.00 -bash-3.00$ perl -Mthreads::shared -e 'print $threads::shared::VERSION + . "\n"' 1.27 -bash-3.00$ perl -Mthreads -e 'print $threads::VERSION . "\n"' 1.71

      The problem was with the old version of Thread::Queue.

      Tks