in reply to RFC: Template::YetAnother

What about Text::Template?

--
I'm not belgian but I play one on TV.

Replies are listed 'Best First'.
Re: Re: RFC: Template::YetAnother
by domm (Chaplain) on Nov 16, 2002 at 16:06 UTC
    You need embedded Perl Code for stuff like includes. I do not like embedded code. That's why I didn't mentioned it...
    -- #!/usr/bin/perl for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}
      No, not really. You could read a seperate template or file into a variable to be susbtituted into the base template. Or, you could write a generic include subroutine. Better yet use the one provided
      *Q::include = \&Text::Template::_load_text;

      --
      I'm not belgian but I play one on TV.