Contents Previous Next


The HiPi modules for Perl provide examples of Perl usage with the GPIO and peripherals of the Raspberry Pi.

The motivation for creation and maintenance of the modules is simply to enjoy messing around with the Raspberry Pi and share the results. I'm particularly interested in doing this in Perl simply because I can

Like many others, using the Raspberry Pi is my first adventure in direct hardware access so expect that the HiPi modules API will change a lot over time as I learn better ways of accomplishing the tasks I set myself.


I'm new to hardware access code so I may distribute code or instructions that fry your Pi. If it burns, I'm sorry. It wasn't on purpose.

Use of the modules and this documentation is entirely at your own risk. I make no claims regarding the efficacy of any of the code or the accuracy of any of the documentation. I accept no liability whatsover in respect of your usage of the code or documentation.

The HiPi modules are written for the system Perl on recent offical Rasbian Wheezy releases. In particular, the pre-compiled GUI libraries are built for the arm-linux-gnueabihf architecture. That is the hard float build of Raspbian.

I have chosen to use a help / document creator that lacks a spell checker - so I am reliant on the old ways. I apologise in advance if mis-spelling distresses you.

Included Libraries

The distribution includes some third party C libraries used to access the Raspberry Pi GIPO.


The bcm2835 library from Mike McCauley is included and wrapped in the module HiPi::BCM2835



The wiringPi library from Gordon Henderson is included and wrapped in the module HiPi::Wiring


Contents Previous Next

HiPi Modules Copyright © 2013 Mark Dootson