in reply to Perl & Templating for a mobile future.
I've heard of CSS/jquery code, such as Twitter Bootstrap, which claim to adjust formatting to suit mobile devices. Perhaps someone with more knowledge can comment if they could help meet the OP's needs.