NAME
Meta::Lang::Sgml - help you with Sgml related tasks.
COPYRIGHT
Copyright (C) 2001 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: Sgml.pm PROJECT: meta
SYNOPSIS
package foo;
use Meta::Lang::Sgml qw();
my($object)=Meta::Lang::Sgml-
new();> my($result)=$object-
method();>
DESCRIPTION
This class will help you with Sgml related tasks. 0. Producing dependency information for an Sgml file.
EXPORTS
get_prefix()
c2deps($$)
FUNCTION DOCUMENTATION
- get_prefix()
-
This method returns the prefix for Sgml related material in the baseline.
- c2deps($$)
-
This method reads a source xml file and produces a deps object which describes the dependencies for that file. This method uses an Expat parser to do it which is quite cheap.
BUGS
None.
AUTHOR
Mark Veltzer <mark2776@yahoo.com>
HISTORY
None.
SEE ALSO
Nothing.
TODO
-the way im counting errros here is not nice since I'm using a global variable. This could be pretty bad for multi-threading etc... Try to make that nicer and dump the global var. You could see the errors global variable in the vars section.