in reply to Making a standalone executable
It seems to me all you need is a perl script that slurps something from STDIN (or a file?), and then uses eval() to execute that something. Then use pp to wrap that tiny script up with the modules you know you'll be needing and that's it. Sort of a custom flavored portable perl. Here's the concept code, untested:
#!perl use strict; use warnings; local $/; my $script = <STDIN>; eval($script);
Or maybe I missed something :-)
Time flies when you don't know what you're doing
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Making a standalone executable
by Uggles (Novice) on Jun 03, 2013 at 18:11 UTC | |
by marto (Cardinal) on Jun 04, 2013 at 09:24 UTC | |
|
Re^2: Making a standalone executable
by Uggles (Novice) on Jun 03, 2013 at 18:24 UTC | |
by dasgar (Priest) on Jun 03, 2013 at 19:35 UTC | |
by Uggles (Novice) on Jun 03, 2013 at 19:44 UTC |