this line of my code grew to its present form which i find amusing.
@{$self->{templates}}{ keys %{$tmpls} } =
map ref $_ eq 'SCALAR' ? \"${$_}" : \"$_", values %{$tmpls} ;
discuss amongst yourselves. topics include: what does it do? wtf am i
doing that? and general esthetics.
that is from my soon to be birthed module Template::Simple. yes, another
template module. but this does have some interesting differences and it
really is simple and yet powerful. i gave a talk at boston.pm and 2
lightning talks at yapc::na and oscon and there was some interest in
it. if you want a work in progress snapshot, i will post the url here.
uri
--
Uri Guttman ------ [EMAIL PROTECTED] -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org