Try adding...
at the begining of your script, and it should work.
I have also uploaded a new version of the module to CPAN that catches this error.