table of contents
Sandbox(3pm) | User Contributed Perl Documentation | Sandbox(3pm) |
NAME¶
App::perlimports::Sandbox - Internal Tools for perlimports
VERSION¶
version 0.000055
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.
2024-07-28 | perl v5.38.2 |