Using Perl for hardware interfacing
Whilst not an obvious choice of language for interfacing to hardware (
traditionally, hardware interfacing is a task for languages such as C), Perl has built up a following for hardware interfacing through the use of the Device-SerialPort.pm Perl module, and with the development of code for use with Home Automation hardware, such as that used with the X-10 home automation system.
Probably the most sophisticated Perl based software for interfacing to a hardware application such as home automation is the Misterhouse software, which provides a full web server front end or Tk front end to control household appliances by means of an adaptor attached to the serial port, and using Device-SerialPort.pm. Other applications of Perl software for hardware interfacing are to devices such as GPS units.
Resources