http://qs321.pair.com?node_id=1169429


in reply to Re^5: With Inline::C, how to link to external library? (code)
in thread With Inline::C, how to link to external library?

Well, after it was sorted that I was using END instead of DATA which was the REAL problem, I continued on. It's a lot easier to create an XS module than I first thought :)

Anyway, here's the XS code for my first real working Perl prototype.

The full module is here: RPi::DHT11::EnvControl.