The Simple DirectMedia Layer has a Perl binding, if you'd like to save yourself some effort. It provides direct OpenGL support and all the other goodies you need for game program.
in reply to OpenGL in Perl
You can't beat SDL for portability either, as it currently supports Linux, Win32, BeOS, MacOS, Solaris, IRIX, and FreeBSD. And if you ever found yourself wanting to program in another language (but why? ;-), it supports C and C++ natively and has additional bindings for Ada, Eiffel, ML, and Python. Both the current release of SDL and the Perl binding claim to be stable on the most important target platforms.