README for Thread::Conveyor
Pass (almost) any data-structure between threads on a first-in, first-out
basis.
*** A note of CAUTION ***
This module only functions on Perl versions 5.8.0 and later. And then
only when threads are enabled with -Dusethreads. It is of no use with
any version of Perl before 5.8.0 or without threads enabled.
********
more»
Check out whether Data::Dumper as an alternate way to safely serialize data
(including code refs) between threads, as per suggestion of Brent Dax.
Maybe make 'cpu' optimization default for 5.8.2 and higher? As shared arrays
are not leaking anymore?