NAME

App::perlimports::Sandbox - Internal Tools for perlimports

VERSION

version 0.000054

pkg_for( $string )

Returns a random module/package name, which can be used to eval arbitrary code. Requires the name of the module which will be imported into the package to be created.

eval_pkg( $module_name, $pkg_content )

Takes a module name and content to eval. Returns the contents of $@. So, if it returns true, the eval failed.

Returns a random module/package name, which can be used to eval arbitrary code. Requires the name of the module which will be imported into the package to be created.

AUTHOR

Olaf Alders <olaf@wundercounter.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2020 by Olaf Alders.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.