Next 4.4 Thread::Serialize Prev

Thread::Serialize

A library for centralizing the routines used to serialize data-structures between threads. Used in several other modules.

use Thread::Serialize; my $frozen1 : shared; my $frozen2 : shared; # in one thread $frozen1 = freeze($scalar); $frozen2 = freeze(@array); # in another thread my $scalar = thaw($frozen1); my @array = thaw($frozen2);

Next Perl Threads Prev