Installing the CPAN library (and any missing dependencies) into a directory you can write to e.g. somewhere in your home directory, most easily achieved by using perl -MCPAN -e shell and then install semaphore
Modify $PERL5LIB or %PERL5LIB% to point to the installation directory
Re-run your script
A user level that continues to overstate my experience :-))