in reply to perl standalone to run perl script as a parameter

Your runperl.exe doesn't seem to do anything else than what perl.exe already does.

On my windows system, the perl executable is less than 2 MByte, but the whole of my perl-installation is almost 37,000 files in over 9,000 folders for about 1.5 Gbyte. It are the modules that will really add to the size.

If you want to run any perl-script, you will have to install all of CPAN otherwise there is no guarantee at all that you can run any script.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics

Replies are listed 'Best First'.
Re^2: perl standalone to run perl script as a parameter
by eammendola (Initiate) on Jul 16, 2012 at 22:38 UTC
    I should clarify. I am planning to only feed the runperl.exe with one or two "specific" .pl scripts. They will be thoroughly tested to work with my .exe. I may compile a few additional modules into the executable, but nothing more. I would not expect the runperl.exe to handle any random .pl I handed it. I'm sure that I am missing something here, but this does not explain how to call the standalone perl intrepretor from within the standalone perl intrepretor.