The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Config::XrmDatabase::Util - Constants that won't change, and other utilitarian things.

VERSION

version 0.07

SUBROUTINES

parse_resource_name

  $internal_name = parse_resource_name( $name );

Parse a string key name which may have wildcards into an internal representation. Exceptions will be thrown if the input is not valid.

parse_fq_resource_name

  $internal_name = parse_fq_resource_name( $name );

Parse a fully qualified (no wildcards) string key name into an internal representation. Exceptions will be thrown if the input is not fully qualified.

normalize_key

   $key = normalize_key( $key );

Takes a string representation of a key returns one which removes extraneous binding operators (., ?, *). It does not validate the input.

name_arr_to_str

  $str = name_arr_to_str( \@array );

Given a key name in internal representation, return an non-normalized string name.

is_wildcard

   $bool = is_wildcard( $char );

Returns true if the character is a wildcard character (nominally * and ?).

SUPPORT

Bugs

Please report any bugs or feature requests to bug-config-xrmdatabase@rt.cpan.org or through the web interface at: https://rt.cpan.org/Public/Dist/Display.html?Name=Config-XrmDatabase

Source

Source is available at

  https://gitlab.com/djerius/config-xrmdatabase

and may be cloned from

  https://gitlab.com/djerius/config-xrmdatabase.git

SEE ALSO

Please see those modules/websites for more information related to this module.

AUTHOR

Diab Jerius <djerius@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2021 by Smithsonian Astrophysical Observatory.

This is free software, licensed under:

  The GNU General Public License, Version 3, June 2007