Meta::Tool::Onsgmls - run onsgmls for you.
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: Onsgmls.pm PROJECT: meta VERSION: 0.16
package foo; use Meta::Tool::Onsgmls qw(); my($object)=Meta::Tool::Onsgmls->new(); my($result)=$object->method();
This module will ease the work of running onsgmls for you. The current purpose is to validate SGML documents but more uses may be added in the future.
The onsgmls that this runs is the one supplied with recent versions of opensp and NOT openjade. This means that you need opensp installed and your path to point to the opensp version of onsgmls which has a DIFFERENT command line interface than the openjade interface.
BEGIN() dochec($) TEST($)
A bootstrap method to find your version of onsgmls.
This method will check an sgml file using nsgmls and will return a boolean value according to whether that file is correct.
Test suite for this module.
None.
Name: Mark Veltzer Email: mailto:veltzer@cpan.org WWW: http://www.veltzer.org CPAN id: VELTZER
0.00 MV history change 0.01 MV papers 0.02 MV spelling and papers 0.03 MV publish gz on the internet 0.04 MV finish lit database and convert DocBook to SGML 0.05 MV perl packaging 0.06 MV BuildInfo object change 0.07 MV md5 project 0.08 MV database 0.09 MV perl module versions in files 0.10 MV movies and small fixes 0.11 MV thumbnail user interface 0.12 MV more thumbnail issues 0.13 MV website construction 0.14 MV web site automation 0.15 MV SEE ALSO section fix 0.16 MV md5 issues
Meta::Lang::Docb::Params(3), Meta::Utils::File::Patho(3), Meta::Utils::Output(3), Meta::Utils::System(3), strict(3)
-fix the docbook dtd and remove the -wno-mixed flag that I use here to bypass it.
-get the path for onsgmls (/local/tools/bin) out of here and into some external options file.
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.