Memorator::Util - utility function(s) for Memorator
use Memorator::Util (); # does not export anything by default my $extended_name = Memorator::Util::local_name($name, $suffix);
This module serves as a container for utility functions.
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.
$name
$suffix
Memorator.
Flavio Poletti <polettix@cpan.org>
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.
To install Memorator, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Memorator
CPAN shell
perl -MCPAN -e shell install Memorator
For more information on module installation, please visit the detailed CPAN module installation guide.