NAME

Meta::Utils::Text::Checker - check text files for various attributes.

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: Checker.pm
PROJECT: meta
VERSION: 0.02

SYNOPSIS

package foo;
use Meta::Utils::Text::Checker qw();
my($res)=Meta::Utils::Text::Checker::length_check("/etc/passwd",80);

DESCRIPTION

Use this module to check text files for various things. The only check that is currently implemented is checking a text file for not having very long lines (you dictate the maximum line length).

FUNCTIONS

length_check($$)

FUNCTION DOCUMENTATION

length_check($$)

This method receives a file name and a maximum line size allowed and checks that all lines in the files wrap before that size is reached. The return value is the success of the check.

TEST($)

This is a testing suite for the Meta::Utils::Text::Checker module. This test is should be run by a higher level management system at integration or release time or just as a regular routine to check that all is well.

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 web site automation
0.01 MV SEE ALSO section fix
0.02 MV md5 issues

SEE ALSO

Meta::Baseline::Aegis(3), Meta::Utils::Parse::Text(3), strict(3)

TODO

Nothing.