Meta::Lang::Tt::Tt - handle Template Toolkit tasks.


Meta documentation  | view source Contained in the Meta distribution.

Index


NAME

Top

Meta::Lang::Tt::Tt - handle Template Toolkit tasks.

COPYRIGHT

Top

LICENSE

Top

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

Top

	MANIFEST: Tt.pm
	PROJECT: meta
	VERSION: 0.02

SYNOPSIS

Top

	package foo;
	use Meta::Lang::Tt::Tt qw();
	my($deps)=Meta::Lang::Tt::Tt::c2deps($build_info);

DESCRIPTION

Top

This module will handle Template Toolkit type tasks. For instance - getting dependencies from Template Tooklit files.

FUNCTIONS

Top

	c2deps($)
	TEST($)

FUNCTION DOCUMENTATION

Top

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

Top

None.

BUGS

Top

None.

AUTHOR

Top

	Name: Mark Veltzer
	Email: mailto:veltzer@cpan.org
	WWW: http://www.veltzer.org
	CPAN id: VELTZER

HISTORY

Top

	0.00 MV web site automation
	0.01 MV SEE ALSO section fix
	0.02 MV md5 issues

SEE ALSO

Top

Meta::Development::Deps(3), Meta::Pdmt::BuildInfo(3), Meta::Utils::Parse::Text(3), strict(3)

TODO

Top

-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.


Meta documentation  | view source Contained in the Meta distribution.