in reply to HTML::Template Alternative to output()
"Hiya, trying to practise clean clode,"
Make life easy on yourself. If you're starting to write something new, don't use CGI, use something like Mojolicious::Lite (see als Tutorial). Your example is less that complete, and can't be reproduced (ownModuleOtherMethod()), if you want to update a page which has already been loaded consider using AJAX to update the page. Failing that please read How do I post a question effectively? and provide a short example which runs and demonstrates your problem.
|
|---|