Meta::Lang::Tt::Tt - handle Template Toolkit tasks.
Copyright (C) 2001, 2002 Mark Veltzer; All rights reserved.
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.
MANIFEST: Tt.pm PROJECT: meta VERSION: 0.02
package foo; use Meta::Lang::Tt::Tt qw(); my($deps)=Meta::Lang::Tt::Tt::c2deps($build_info);
This module will handle Template Toolkit type tasks. For instance - getting dependencies from Template Tooklit files.
c2deps($) TEST($)
Extract dependency information from Template Toolkit files.
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).
None.
Name: Mark Veltzer Email: mailto:veltzer@cpan.org WWW: http://www.veltzer.org CPAN id: VELTZER
0.00 MV web site automation 0.01 MV SEE ALSO section fix 0.02 MV md5 issues
Meta::Development::Deps(3), Meta::Pdmt::BuildInfo(3), Meta::Utils::Parse::Text(3), strict(3)
-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.
To install Meta::Init, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Meta::Init
CPAN shell
perl -MCPAN -e shell install Meta::Init
For more information on module installation, please visit the detailed CPAN module installation guide.