The following module was proposed for inclusion in the Module List:
modid: Text::MagicTemplate DSLIP: Rmphp description: magic merger of runtime values with template userid: DOMIZIO (Domizio Demichelis) chapterid: 11 (String_Lang_Text_Proc) communities: similar: HTML::Template Text::SimpleTemplate CGI::FastTemplate HTMLTMPL rationale: This module makes magically available all the runtime values - stored in your variables or returned by your subroutines - inside a static template file. No need to assign values to the object: the object will look up the right value and will put it in the right place into the template. Just add 3 lines of code to setup and print a merged output with branching, nested loops, etc. The template syntax is the simplest of its kind... sort of magic too. I chose the word "magic" because it is widely used in "perlesque" slang to mean something like "automatic" or "without programmer intervention" or "without the need to pass values", that is exactly what the module does with code and templates. enteredby: DOMIZIO (Domizio Demichelis) enteredon: Tue Aug 27 16:27:39 2002 GMT The resulting entry would be: Text:: ::MagicTemplate Rmphp magic merger of runtime values with template DOMIZIO Thanks for registering, The Pause Team PS: The following links are only valid for module list maintainers: Registration form with editing capabilities: https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=31200000_41c7b25009899fe5&SUBMIT_pause99_add_mod_preview=1 Immediate (one click) registration: https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=31200000_41c7b25009899fe5&SUBMIT_pause99_add_mod_insertit=1