Yeh, if you're talking about web-based games (and I assume
you are) Perl doesn't make a good front end. Perl can,
however, make a good back end, managing users and global
high score lists or whatever.
Here's two games I've written with a JavaScript front end
and a Perl back end:
Incidentally, If you are interested in doing the front
end in JS, I've written a cross-platform, cross-browser
library for dealing with layers: