good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
console adventure game to html mod_perl versionby cmikel (Novice) |
on May 13, 2013 at 23:24 UTC ( [id://1033377]=perlquestion: print w/replies, xml ) | Need Help?? |
cmikel has asked for the wisdom of the Perl Monks concerning the following question:
new to perl and i have a decent little adventure game that is console based which consists of a main.pl and then about 5 perl modules which contain my objects - Room, Character, Weapon, etc (also using Moose). i'd like to convert it to a html version - where the info displays in html form - a user clicks a new room or action and based off the click maybe a url param is passed and then and new text is displayed. something simple. i'm much, much more familiar with java and in which case I would just use JSP. so...i have apache2 and mod_perl. and in doing some research it seems like Template Toolkit might help me achieve this goal as well. at the moment i have a mod_perl.conf which helps me render this simple module. if i visit localhost/game - this of of course produces 'Hello World!'. where i am lost is how to fit all the pieces together...i've read about TT and mod_perl and apache2...but I really can't figure out how fit the pieces of the puzzle together. if someone has a simple example that would help tremendously.
Back to
Seekers of Perl Wisdom
|
|