NAME

Memorator::Util - utility function(s) for Memorator

SYNOPSIS

use Memorator::Util (); # does not export anything by default

my $extended_name = Memorator::Util::local_name($name, $suffix);

DESCRIPTION

This module serves as a container for utility functions.

FUNCTIONS

local_name

my $extended_name = local_name($name, $suffix);

merge $name and $suffix with an underscore, then turns all non-word characters into underscores. Returns the resulting string.

SEE ALSO

Memorator.

AUTHOR

Flavio Poletti <polettix@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2018 by Flavio Poletti <polettix@cpan.org>

This module is free software. You can redistribute it and/or modify it under the terms of the Artistic License 2.0.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.