in reply to Re^2: Using Win32::SerialPort in a module
in thread Using Win32::SerialPort in a module

Other key changes with my initial presentation are removal (from Serial.pm) of warnings, strict and "#!usr/bin/perl" lines.

You don't need the #! line if your file isn't going to be executed, so it is (almost) never needed in a module. However, strict and warnings are there to help you. I would very strongly recommend that you reinstate them.


🦛