---
name: "App::perlimports::Sandbox"
section: "3pm"
platform: "linux"
package: "perlimports"
version: "0.000057-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/App::perlimports::Sandbox"
---

# App::perlimports::Sandbox(3pm)

Internal Tools for perlimports

## NAME

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

## VERSION

version 0.000057

### 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.
