Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

is it possible to write a perl program that can interface with a c .dll file? I would like to write a perl program that uses libvorbis.dll to decode ogg vorbis files.

Replies are listed 'Best First'.
Re: interface to dll
by broquaint (Abbot) on Jul 03, 2002 at 11:12 UTC
    If Ogg Vorbis munging is your business then you may want to check out the Ogg::Vorbis module. I can't vouch for it's usefulness having not used it but it looks promising. Also see this node concerning interfacing with DLLs.
    HTH

    _________
    broquaint

Re: interface to dll
by Kanji (Parson) on Jul 03, 2002 at 11:06 UTC

    Assuming you're using Windows, Win32::API (alt.) should be what you're looking for. I believe it comes standard with ActivePerl, and you should be able to go Googling for examples right here on PerlMonks.

        --k.