Perl module for serial port