--- Thilo Planz <[EMAIL PROTECTED]> wrote:
> Okay, in that case you probably know what you are
> doing.
Sometimes I like to think so ;) Yeah, If I'm looking
for "how to do X" the first place I look is usually
CPAN; If I know how to do it I'll sometimes still look
on CPAN. One of the things that's kept me from using
modules on CPAN is that until recently I've had a poor
grasp on OOP in Perl, and many OO modules are... ill
defined unless you're quite fammiliar with the jargon.
I'll take a look at Template-Toolkit to see if it
meets my needs. Right now the two biggest features I'm
looking for are (1) accepting functions for values
(i.e. accepting the return of &get() as a valid thing
to interpolate); this way the actual variables etc are
hidden behind a black box in case I want to change
them, and (2) being able to parse a single file into
multiple sections (header, footer, etc) so that I can
do something akin to <<print header; for(){print
entry} print footer;>> as well as other combinations.
The module I've got so far takes text, and splits it
based on Begin/EndSection metalanguage and when
interpolating it runs eval on anything between
Begin/EndPerl metalanguage; so far this works well
enough.
cheers,
~wren
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com