Bundesamt für Sicherheit in der Informationstechnik > Dicop-Server-3.04 > Dicop::Data::Charset

Download:
dicop/Dicop-Server-3.04.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 1.03   Source  

NAME ^

Dicop::Data::Charset - a charset

SYNOPSIS ^

    use Dicop::Data::Charset;

REQUIRES ^

perl5.005, Exporter, Dicop::Item, Dicop, Math::String, Math::String::Charset

EXPORTS ^

Exports nothing on default.

DESCRIPTION ^

For a description of fields a charset has, see doc/Objects.pod.

METHODS ^

check()

Perform an internal check and return '' for okay, otherwise an error message.

check_strings()
        my $error = $charset->check_string();

Check that start and end are valid strings. Returns error message or empty string.

charset()

Return the internal Math::String::Charset object.

type()

Return the type of the charset as string.

check_strings()
        $error = $self->check_strings ($hash, @keys);

Take a hash reference and a list of keys. For each of the keys in the hash, check that it is an object of the underlying charset (Math::String, usually).

If not, create an object out of it.

BUGS ^

None known yet.

AUTHOR ^

(c) Bundesamt fuer Sicherheit in der Informationstechnik 1998-2006

DiCoP is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

See http://www.bsi.de/ for more information.