SPUG: modules for building strings top down
Andrew Sweger
andy at n2h2.com
Tue Sep 26 15:31:40 CDT 2000
CGI::FastTemplate perhaps? I specify it in some designs so as to
completely segregate perl code from the HTML (or other text). If done
properly, the connection between the perl code and text is controlled by a
configuration file. You can also use CGI::FastTemplate to procedurally
construct a byte stream from a top-down structure approach.
On Sep 26, 2000 @ 9:55am, Showell30 at aol.com wrote:
> # Hello.
> #
> # I want a more generic interface for assembling
> # text than, say, HTML::Entities provides me. I want
> # to build up strings in a top-down fashion, so that I can
> # hook in parts of the string later, with an
> # object-oriented interface. I created an object
> # class called "topdown" that has two functions:
> #
> # hook - allows you to hook in a string, array of
> # strings, or other topdown into your string
> # expanded - returns expanded string (recursing tree)
> #
> # I am interested in alternative solutions to this. Thanks.
> # I suppose the best thing would be to discover that there's
> # already a module out there that does what my "topdown" does,
> # only more robustly.
--
Andrew Sweger <andy at n2h2.com> | N2H2, Incorporated
Systems Architect | 900 Fourth Avenue, Suite 3400
Advanced Technologies Division | Seattle WA 98164-1059
v=206.336.2947 f=206.336.1541 | http://www.n2h2.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Subscriptions; Email to majordomo at pm.org: ACTION LIST EMAIL
Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
For daily traffic, use spug-list for LIST ; for weekly, spug-list-digest
Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
More information about the spug-list
mailing list