The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Meta::Baseline::Lang::Temp - doing Template specific stuff in the baseline.

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: Temp.pm
        PROJECT: meta
        VERSION: 0.22

SYNOPSIS

        package foo;
        use Meta::Baseline::Lang::Temp qw();
        my($resu)=Meta::Baseline::Lang::Temp::env();

DESCRIPTION

This package contains stuff specific to Templates in the baseline: 0. Checks the template files. 1. Created dependencies for the template files. 2. Converts the template files to docbook documents.

FUNCTIONS

        c2chec($)
        c2deps($)
        get_vars()
        c2some($)
        mac_devfile($)
        mac_devfile_rel($)
        mac_devfile_abs($)
        mac_devlist_reg($)
        mac_include_sgml($)
        mac_include_xml($)
        my_file($$)
        ram_process($$)
        TEST($)

FUNCTION DOCUMENTATION

c2chec($)

This routine verifies template source files. Currently it does nothing.

c2deps($)

This routine will print out dependencies in cook fashion for template sources. Currently it does nothing.

get_vars()

This will get all the variables for Template processing.

c2some($)

This routine will convert Template files to DocBook files. Currently it does nothing.

mac_devfile($)

This method will return a development module object according to module name.

mac_devfile_rel($)

This method will translate a module name to a relative name (for html relative links).

mac_devfile_abs($)

This method will translate a module name to an absolute file name.

mac_devlist_reg($)

This method will return all development files who's names match a certain regexp.

mac_include_sgml($)

This method will load a development file and will include only it's markup section (no declaration).

mac_include_xml($)

This method will load a development file and will include only it's markup section (no declaration).

my_file($$)

This method will return true if the file received should be handled by this module.

ram_process($$)

This will process a file on disk and will return the result in RAM.

TEST($)

Test suite for this module.

SUPER CLASSES

Meta::Baseline::Lang(3)

BUGS

None.

AUTHOR

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

HISTORY

        0.00 MV Revision in DocBook files stuff
        0.01 MV PDMT stuff
        0.02 MV C++ and temp stuff
        0.03 MV perl packaging
        0.04 MV BuildInfo object change
        0.05 MV md5 project
        0.06 MV database
        0.07 MV perl module versions in files
        0.08 MV movies and small fixes
        0.09 MV thumbnail user interface
        0.10 MV more thumbnail issues
        0.11 MV md5 project
        0.12 MV website construction
        0.13 MV web site development
        0.14 MV more web page stuff
        0.15 MV web site automation
        0.16 MV SEE ALSO section fix
        0.17 MV bring movie data
        0.18 MV move tests into modules
        0.19 MV weblog issues
        0.20 MV finish papers
        0.21 MV teachers project
        0.22 MV md5 issues

SEE ALSO

Meta::Baseline::Aegis(3), Meta::Baseline::Cook(3), Meta::Baseline::Utils(3), Meta::Development::Module(3), Meta::Info::Authors(3), Meta::Lang::Tt::Tt(3), Meta::Lang::Xml::Xml(3), Meta::Template(3), Meta::Tool::Aegis(3), Meta::Utils::File::File(3), Meta::Utils::Hash(3), Meta::Utils::List(3), Meta::Utils::Text::Checker(3), strict(3)

TODO

-because of the use og global vars here then the moudle is not multi-thread safe.

-add a root variable to the substitutin and a root_rel (relative path to the root).