Re: gudev perl bindings



On 02.09.2010 09:37, Tomasz Kobiela wrote:
Hal is now deprecated and dropped by many distribution.
Udev is its replacement.
Are there any bindings for gudev for perl or any plans for it ?

Not that I know of. But you can use introspection to create bindings on the fly: <http://git.gnome.org/browse/perl-Glib-Object-Introspection/>. See the attached example. You'll also need to apply the attached patch to udev (at least with recent versions of gobject-introspection).

Attachment: gudev.pl
Description: Perl program

Attachment: gudev-annotations.patch
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]