Strawberry Perl offers a no-install, Portable Edition. You can investigate the various offerings, here.
If you want a quick and easy way to fetch and maintain multiple portable editions simultaneously, you can use berrybrew. Technically, it doesn't get "installed" either, nor do the perl instances you fetch and maintain using it.
-stevieb
| [reply] |
Stevieb, Thanks for pointing out the no-install portable version of Strawberry Perl for Windows. What I am actually looking for is a tiny, minimal Perl interpreter, in a single file, suited for one to learn the basics of a programming language. Something with the kind of functionality of the early versions of BASIC, and taking about a few hundred KB would do fine. The portable version of Strawberry Perl at 148 MB seems to be a well-endowed version of Perl, more suited to meet higher level demands. - Anonymous Monk
| [reply] |
| [reply] |
perl without any module is going to be pretty dull, not very beginner friendly...
You can use PAR::Packer to pack into a single executable the perl binary plus a minimal set of modules and a loader script which would load the user program, maybe creating a newbie friendly environment (for instance, forcing strictures and warnings). | [reply] |
Would you like to build your own (static=all dependencies packed in) perl? Mine (5.28) is 12Mb thick. Theoretically it is stand alone.
Alternatively, there are docker images at https://hub.docker.com/_/perl. And of course webperl.
| [reply] |
| [reply] |
A really small perl.exe with only dependency on libperl${version}.dll (or even statically linked, why not) can be compiled by following perlembed. | [reply] [d/l] [select] |