Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jonasbn (1153)

  reversethis-{gro.napc} {ta} {nbsanoj}
AOL IM: BJonasN (Add Buddy, Send Message)

Perl Programmer located in Copenhagen, Denmark. Active member of Copenhagen Perl Mongers.

Author of:

  • Business::DK::CPR
  • Business::DK::CVR
  • Business::DK::PO
  • Business::OnlinePayment::CashCow
  • Date::Holidays
  • Date::Holidays::Abstract
  • Date::Holidays::Super
  • Date::Pregnancy
  • Games::Bingo
  • Games::Bingo::Bot
  • Games::Bingo::Print
  • Module::Info::File
  • Module::Template::Setup
  • Test::Timer

and maintainer of:

  • Tie::Tools
  • XML::Conf
  • Workflow

Journal of jonasbn (1153)

Wednesday March 31, 2004
04:15 PM

Are there any templating systems out there?

[ #18142 ]

I have given Module::Template::Setup some thought and I have concluded that CGI::FastTemplate (my favorite templating module) is not quite the right thing for Module::Template::Setup.

The problem is that is works with $placeholder

Which means that is works great for HTML, XML and other things but not Perl code templates. The problem is conflicts between placeholders and Perl scalars.

Does anybody else have a suggestion for a good, simple, filebased template system or should I write my own? I actually never wrote a complete templating system, maybe I should, it would probably do me good and maybe I could learn something...

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • It's screaming in your face, "pick me, I'm good!"
    Casey West
  • What he said (↑).

    Also ... should you write your own templating system? - Sure why not, if you have the time I'm sure it would be educational. Should you release it to CPAN? - Almost certainly not.

  • Template Toolkit is fantastic, without a doubt my favorite system in any language I've seen. But it might be heavyweight (esp. as a dependency) for your needs. MJD's Text::Template [] probably fills the bill for a lightweight, simple system here.