NAME
App::Embra::Util - place for misc. code
VERSION
version 0.001
METHODS
expand_config_package_name
App::Embra::Util->expand_config_package_name( $pkg_name )
Returns $pkg_name
rewritten into a package name. If $pkg_name
starts with =
, it is treated as a package name and returned unmodified. Otherwise, a copy of it is prefixed with App::Embra::Plugin
(and then Bundle
, if it starts with @
) and returned.
Used by App::Embra::MVP::Assembler and App::Embra::App::Command::listdeps, to turn section names in config files into package names.
AUTHOR
Daniel Holz <dgholz@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 by Daniel Holz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.