Trying to install and run perl on Win CE 6.0 I am trying to run perl on a Win CE Allen Bradley Panel View Plus HMI It has Win CE 6.0 I tried 2 binaries which I downloaded they are perl-wince-x86-palm-wce211 and perl-wince-x86-pocket-wce300 I had found the following installer and tried it, (the device didn't seem to have the registry command so I couldn't do the registry bits but I thought it might run anyway my script with perl anyway. \Storage Card2\ is where the bin and lib directories are located....
you first decide your operating system for the definition of the port. if ($OS_win) { eval "use Win32::SerialPort 0.14"; die "$@\n" if ($@); } else { eval "use Device::SerialPort"; die "$@\n" if ($@); } in linux $portName = '/dev/ttyS0'; or windows $portName = 'COM1'; if you make the object $ob = new Win32::SerialPort you can for example set baud arte like this $ob->baudrate (2400); then inside a for ever loop this will examine and read the port # ($blockingflags, $inbytes, $outbytes, $errflags)...