You are not logged in.

#1 2009-05-05 18:27:56

juster
Forum Fellow
Registered: 2008-10-07
Posts: 195

Perl ALPM extension module

I've started a perl alpm extension module in order to learn a little bit about XS, perl's interface to external C libraries.  The goal is to use the C library with a perlish, OO interface.  Right now most alpm functions are implemented except for transactions and other difficult ones.

Alpm global functions are class methods in the ALPM package, package and database functions are in separate classes, ALPM::Package and ALPM::DB.  The synopsis in the included docs shows most of what's available.  You can view it online here: http://search.cpan.org/dist/ALPM/lib/ALPM.pm.

The AUR package is here if anyone wants to play with it: http://aur.archlinux.org/packages.php?ID=26265

Offline

#2 2009-06-16 00:14:37

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: Perl ALPM extension module

I somehow missed this thread and I can't believe that no one else has replied yet (I only found it after searching for the Perl ALPM modules that you mentioned in another thread).

I'm going to take a look at this as I still don't know how to use external libraries with Perl (I've just built package for the modules using pacpan and tested the script in the other thread) but so far it looks very promising.

Keep up the good work!


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

Board footer

Powered by FluxBB