NAME
Data::Identifier::Wellknown - format independent identifier object
VERSION
version v0.07
SYNOPSIS
use Data::Identifier::Wellknown qw(classes...);
This package provides a simple list of well known identifiers. Classes are loaded on demand. However for speedy lookup classes can be imported (given via use
arguments).
If a class is already loaded, it is not reloaded. If a program knows the classes it will use early it makes sense to include this module in the main program (or root module) before other modules that make use of this module are used with all the used classes listed. This improves speed as it will reduce the read of the full list to a single pass. In contrast if every use will only list a single class that is not yet loaded loading will be most in-efficient.
Note: This is an experimental package. It may be changed, renamed, or removed without notice.
This package implements Data::Identifier::Interface::Known.
METHODS
classes_of
my @classes = Data::Identifier::Wellknown->classes_of($identifier);
Returns the classes the identifier is known for. $identifier
is parsed as per from
of "new" in Data::Identifier.
Note: This module does not guarantee any specific order of the returned list.
Note: Classes may not be included in returned list unless they (or :all
) have been imported before.
Note: This is an experimental method. It may be changed, renamed, or removed without notice.
AUTHOR
Löwenfelsen UG (haftungsbeschränkt) <support@loewenfelsen.net>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2023-2024 by Löwenfelsen UG (haftungsbeschränkt) <support@loewenfelsen.net>.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)