NAME
Meta::Lang::Tt::Tt - handle Template Toolkit tasks.
COPYRIGHT
Copyright (C) 2001, 2002 Mark Veltzer; All rights reserved.
LICENSE
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
DETAILS
MANIFEST: Tt.pm
PROJECT: meta
VERSION: 0.02
SYNOPSIS
package foo;
use Meta::Lang::Tt::Tt qw();
my($deps)=Meta::Lang::Tt::Tt::c2deps($build_info);
DESCRIPTION
This module will handle Template Toolkit type tasks. For instance - getting dependencies from Template Tooklit files.
FUNCTIONS
c2deps($)
TEST($)
FUNCTION DOCUMENTATION
- c2deps($)
-
Extract dependency information from Template Toolkit files.
- TEST($)
-
This is a test for the modules correct working. Why is a test a part of a modules ? Thats a big question but the idea is to keep tests close to the code they are testing so they could be correlated with the code and not become out of data. Also this eases the dependency handling since when you update the file you are also (inadvertantly or not) updating the test and higher level systems can detect that and run the tests again (as they should).
SUPER CLASSES
None.
BUGS
None.
AUTHOR
Name: Mark Veltzer
Email: mailto:veltzer@cpan.org
WWW: http://www.veltzer.org
CPAN id: VELTZER
HISTORY
0.00 MV web site automation
0.01 MV SEE ALSO section fix
0.02 MV md5 issues
SEE ALSO
Meta::Development::Deps(3), Meta::Pdmt::BuildInfo(3), Meta::Utils::Parse::Text(3), strict(3)
TODO
-the way I'm calculating deps for template files is not right. Use the native TT2 grammer file which is distributed with it and create a parser based on the real grammer.