Hi,
IIRC, Win32::SerialPort needs Win32::API - and if you don't have Win32::API, you'll get the type of error that you described. (It's best to provide a copy'n'paste of the error message, rather than a synopsis of it - as the synopsis will often fail to include relevant pieces of information :-)