Sandbox(3pm)

✨ NAME ✨

App::perlimports::Sandbox β€” it's the Internal Tools for perlimports, bestie πŸ’– the behind-the-scenes lil helper module that does the spicy stuff so the main character module doesn't have to.


πŸŽ€ VERSION πŸŽ€

version 0.000060

no cap, that's the number, don't @ me πŸ’…


🌸 pkg_for( $string )

okay so this one? gives you a random module/package name ✨ and that name is literally usable for eval-ing arbitrary code. It needs the name of the module that's gonna get imported into the package it's about to create. Think of it as: you hand it a module name, it hands you back a fresh lil package to play in 🫢


πŸ¦‹ eval_pkg( $module_name, $pkg_content )

this one takes a module name and some content to eval, and it hands you back the contents of $@. So like… heads up πŸ‘€ β€” if it returns true, the eval FAILED. That's the vibe check. $@ is truthy when things went sideways, so a truthy return is your 🚨.

not me being dramatic but fr fr, true return value = broken eval = read $@ and figure out what happened 😭

and also, same energy as above: it returns a random module/package name, which can be used to eval arbitrary code, and it requires the name of the module which will be imported into the package to be created. yep, that paragraph is here twice in the original, so it's here twice too. consistency queen πŸ‘‘πŸ’…


🧚 AUTHOR 🧚

Olaf Alders <olaf@wundercounter.com> β€” the icon, the moment, the legend who wrote this 🫢


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. so go off, remix it, redistribute it, slay responsibly 🌈


okay that's the whole page, you ate it πŸ’– this was perl v5.40.1, dated 2026-05-11, and it's the Sandbox(3pm) page, mwah 😘✨

πŸ“¦ where this page comes from