There is nothing that jumps out of CPAN, directly, but the Monastery has a Q&A on the "Windows GUI Interface", and there was a thread back in 00 with a Brother Monk who was working on XS bindings for DirectX -- "XS on Win32" http://www.perlmonks.org/index.pl?node_id=47209
Updated: corrected spelling/syntax.
----
I Go Back to Sleep, Now.
OGB
| [reply] |
There are SDL (Simple DirectMedia Layer) bindings for Perl. If you specifically require DirectX then this won't help you, but if you're interested in writing high-performance multimedia (i.e. games), then it certainly can. It has some nice features like platform independence (it sits on top of DirectX on Win32, but also works on Linux, Mac OS X, Mac Classic, BeOS, and a lot more). Unfortunately, the documentation is a little iffy (both on the SDL front as well as SDL-Perl). But it could be that I haven't looked in the right place yet.
I've just gotten started with it, but so far the results are encouraging. You can write your entire program in Perl, and the interface to SDL appears to be clean and comprehensive. There's another PM thread discussing the subject. | [reply] |