in reply to Perl module problem
As the error message says, perhaps you forgot to load IO::Handle. Trust the (first) error message.