SPELL=cgi-fasttemplate VERSION=1.09 SOURCE="CGI-FastTemplate-${VERSION}.tar.gz" SOURCE_URL[0]=$PERL_CPAN_URL/authors/id/J/JM/JMOORE/${SOURCE} SOURCE_HASH=sha512:ff8907573d86cdc534ddd8f1b3b1d697df9eab429510b3b090371f01d856d8a374a7a0cfe0a2709468dd5e8be1b5738801859e0b138adcf5357daff09343136b SOURCE_DIRECTORY="${BUILD_DIRECTORY}/CGI-FastTemplate-${VERSION}" WEB_SITE="http://search.cpan.org/~jmoore/CGI-FastTemplate/" LICENSE[0]=Unknown ENTERED=20090916 SHORT="Perl extension for managing templates, and performing variable interpolation." cat << EOF There are other templating modules on CPAN, what makes FastTemplate different? CGI::FastTemplate has the following attributes: Speed FastTemplate doesn't use eval, and parses with a single regular expression. It just does simple variable interpolation (i.e. there is no logic that you can add to templates - you keep the logic in the code). That's why it's has 'Fast' in it's name! Efficiency FastTemplate functions accept and return references whenever possible, which saves needless copying of arguments (hashes, scalars, etc). Flexibility The API is robust and flexible, and allows you to build very complex HTML documents or HTML interfaces. It is 100% perl and works on Unix or NT. Also, it isn't restricted to building HTML documents -- it could be used to build any ascii based document (e.g. postscript, XML, email). EOF