NAME

Meta::Baseline::Switch - module to help to sort through all available languages.

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: Switch.pm
        PROJECT: meta
        VERSION: 0.57

SYNOPSIS

        package foo;
        use Meta::Baseline::Switch qw();
        my($module)=Meta::Baseline::Switch::get_module("my.pm");

DESCRIPTION

This is the "switch" library between all language modules.

FUNCTIONS

        get_count($)
        get_own($)
        get_module($)
        get_type_enum()
        get_lang_enum()
        run_module($$$$$$)
        TEST($)

FUNCTION DOCUMENTATION

get_count($)

This will return the number of modules which report that the file given is theirs.

get_own($)

This method will return a perl list of all the modules which think they own the file (mainly for debuggin purposes).

get_module($)

This will look at a filename and will find the language responsible for it or will die.

get_type_enum()

This method will return an Enum type which has all the possible conversions.

get_lang_enum()

This method will return an enum type which has all the possible languages.

run_module($$$$$$)

This will run a module for you.

TEST($)

Test suite for this module. It currently just checks to see that it gets the perl module for "my.pm".

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 perl quality change
        0.01 MV perl code quality
        0.02 MV more perl quality
        0.03 MV more perl quality
        0.04 MV get basic Simul up and running
        0.05 MV perl documentation
        0.06 MV more perl quality
        0.07 MV perl qulity code
        0.08 MV more perl code quality
        0.09 MV revision change
        0.10 MV better general cook schemes
        0.11 MV cook updates
        0.12 MV pictures in docbooks
        0.13 MV revision in files
        0.14 MV revision for perl files and better sanity checks
        0.15 MV languages.pl test online
        0.16 MV history change
        0.17 MV add rtf format to website,work on papers,add dtd lang
        0.18 MV introduce docbook xml and docbook deps
        0.19 MV cleanups
        0.20 MV good xml support
        0.21 MV more on data sets
        0.22 MV move def to xml directory
        0.23 MV bring back sgml to working condition
        0.24 MV automatic data sets
        0.25 MV web site and docbook style sheets
        0.26 MV write some papers and custom dssls
        0.27 MV spelling and papers
        0.28 MV fix docbook and other various stuff
        0.29 MV add zipping subsystem
        0.30 MV convert dtd to html
        0.31 MV PDMT/SWIG support
        0.32 MV Revision in DocBook files stuff
        0.33 MV PDMT stuff
        0.34 MV C++ and temp stuff
        0.35 MV finish lit database and convert DocBook to SGML
        0.36 MV update web site
        0.37 MV XML rules
        0.38 MV perl packaging
        0.39 MV perl packaging
        0.40 MV BuildInfo object change
        0.41 MV PDMT
        0.42 MV md5 project
        0.43 MV database
        0.44 MV perl module versions in files
        0.45 MV movies and small fixes
        0.46 MV graph visualization
        0.47 MV thumbnail user interface
        0.48 MV more thumbnail issues
        0.49 MV paper writing
        0.50 MV website construction
        0.51 MV improve the movie db xml
        0.52 MV web site automation
        0.53 MV SEE ALSO section fix
        0.54 MV move tests to modules
        0.55 MV finish papers
        0.56 MV teachers project
        0.57 MV md5 issues

SEE ALSO

Error(3), Meta::Baseline::Lang::Aegi(3), Meta::Baseline::Lang::Ascx(3), Meta::Baseline::Lang::Aspe(3), Meta::Baseline::Lang::Awkx(3), Meta::Baseline::Lang::Bdbx(3), Meta::Baseline::Lang::Bins(3), Meta::Baseline::Lang::Ccxx(3), Meta::Baseline::Lang::Chec(3), Meta::Baseline::Lang::Chun(3), Meta::Baseline::Lang::Clas(3), Meta::Baseline::Lang::Conf(3), Meta::Baseline::Lang::Cook(3), Meta::Baseline::Lang::Cssx(3), Meta::Baseline::Lang::Cxxx(3), Meta::Baseline::Lang::Data(3), Meta::Baseline::Lang::Dbxx(3), Meta::Baseline::Lang::Deps(3), Meta::Baseline::Lang::Dirx(3), Meta::Baseline::Lang::Dlls(3), Meta::Baseline::Lang::Dslx(3), Meta::Baseline::Lang::Dtdx(3), Meta::Baseline::Lang::Dvix(3), Meta::Baseline::Lang::Epsx(3), Meta::Baseline::Lang::Gzxx(3), Meta::Baseline::Lang::Html(3), Meta::Baseline::Lang::Info(3), Meta::Baseline::Lang::Java(3), Meta::Baseline::Lang::Jpgx(3), Meta::Baseline::Lang::Late(3), Meta::Baseline::Lang::Libs(3), Meta::Baseline::Lang::Lily(3), Meta::Baseline::Lang::Lyxx(3), Meta::Baseline::Lang::Manx(3), Meta::Baseline::Lang::Midi(3), Meta::Baseline::Lang::Mifx(3), Meta::Baseline::Lang::Nrfx(3), Meta::Baseline::Lang::Objs(3), Meta::Baseline::Lang::Pack(3), Meta::Baseline::Lang::Patc(3), Meta::Baseline::Lang::Pdfx(3), Meta::Baseline::Lang::Perl(3), Meta::Baseline::Lang::Pgnx(3), Meta::Baseline::Lang::Pngx(3), Meta::Baseline::Lang::Psxx(3), Meta::Baseline::Lang::Pyob(3), Meta::Baseline::Lang::Pyth(3), Meta::Baseline::Lang::Rcxx(3), Meta::Baseline::Lang::Rtfx(3), Meta::Baseline::Lang::Rule(3), Meta::Baseline::Lang::Sgml(3), Meta::Baseline::Lang::Swig(3), Meta::Baseline::Lang::Targ(3), Meta::Baseline::Lang::Temp(3), Meta::Baseline::Lang::Texx(3), Meta::Baseline::Lang::Txtx(3), Meta::Baseline::Lang::Xmlx(3), Meta::Baseline::Lang::Xslt(3), Meta::Ds::Array(3), Meta::Info::Enum(3), Meta::Pdmt::BuildInfo(3), Meta::Tool::Gzip(3), Meta::Tool::Ps2Pdf(3), Meta::Utils::Output(3), Meta::Utils::System(3), strict(3)

TODO

-make the get_type_enum and get_lang_enum return variables which are prepared in BEGIN.