in reply to interface to dll

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.