The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

File::ValueFile - module for reading and writing ValueFile files

VERSION

version v0.06

SYNOPSIS

This module only provides some global functionality.

For reading and writing ValueFiles see File::ValueFile::Simple::Reader and File::ValueFile::Simple::Writer.

METHODS

known

my @list = File::ValueFile->known($class [, %opts ] );

This method will return a list of well known tags of the given class $class. It is an implementation of "known" in Data::Identifier::Interface::Known. See there for details

Currently no specific classes is defined. The pseudo class :all is however supported.

add_utf8_marker

File::ValueFile->add_utf8_marker(format => $id);
# or:
File::ValueFile->add_utf8_marker(feature => $id);

Add a format or feature (given by $id) as a marker for UTF-8 en/decoding. Formats and features that have been marked to use UTF-8 are autodetected in File::ValueFile::Simple::Reader and File::ValueFile::Simple::Writer.

$id can be any value supported by "new" in Data::Identifier's from mode. However It is often wise to pass an instance of Data::Identifier which is already registered using "register" in Data::Identifier.

AUTHOR

Löwenfelsen UG (haftungsbeschränkt) <support@loewenfelsen.net>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2024-2025 by Löwenfelsen UG (haftungsbeschränkt) <support@loewenfelsen.net>.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)