NAME
File::ValueFile - module for reading and writing ValueFile files
VERSION
version v0.02
SYNOPSIS
use File::ValueFile;
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
.
Currently no specific classes is defined. The pseudo class :all
is however supported.
The following options are supported (all optional):
as
-
The type to be used to return tags in. Currently supported values are:
uuid
,oid
,uri
,ise
, Data::Identifier.Note: The default is not yet defined and may change in future versions of this module.
Note: All entries for the given class must support to be returned in the type given here.
default
-
The value to be returned when the given class is not supported. This must be an array reference. This can be set to
[]
to switchingdie
ing off for unsupported classes.
AUTHOR
Löwenfelsen UG (haftungsbeschränkt) <support@loewenfelsen.net>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2024 by Löwenfelsen UG (haftungsbeschränkt) <support@loewenfelsen.net>.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)