The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
README for Thread::Synchronized

Adds the "synchronized" and "method" CODE attributes so that a specific
subroutine or object method is only run by a one thread at a time.

                         *** 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.

                         *************************

Copyright (c) 2003 Elizabeth Mattijsen <liz@dijkmat.nl>. All rights
reserved.  This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.

Required Modules:
 (none)

The build is standard:

perl Makefile.PL
make
make test
make install