> I had the problem of find a perl interpreter very light. My requirements was:
>
> * Very easy to install: just copy two files.
> * No run from a server share because many stations are away throuhg WAN
> links of about 9600 bps (even 4800 bps).
> * No need for _any_ software: no need for DCOM, no need for Internet
> Explorer, no need for nothing, except, of course, the operating system.
> * I don't needed any modules.
>
> After try and try and try some versions of Perl I found one that
> accomodates to my needs: the Perl interpreter that came in the Windows NT
> Resource Kit:
> * Basically, they are only 2 files: PERL.EXE and PERL100.DLL.
Did you notice that it's version 5.001 ?
Quite an old stuff.
And you will NOT be able to compile modules with XS for it !
And actualy ... did you try things like :
@files = <*.txt>;
? It wount work!
> * No need for registry modifications. You need that if you use modules,
> but, you can avoid registry modifications if you use "perl -I dir" in your
> execution options.
Most perls have some library directories "built in".
So if you keep the directory tree "standard" you don't even need -I
> * The two files fit in a half diskette of 1.44 Mb.
My ActivePerl 5.6 based tinyperl is 755 KB
> * It runs on Win95/98/Me/NT/2000.
Don't have Win9x or ME here to test.
> * I found that any other perl interpreter (Dynamic, ActiveState, Indigo,
> etc.) requires, at least, DCOM u other components.
Seriously ... I don't know.
> Freddy Chavez.
Jenda
P.S.: Please find attached maketinyperl.pl
== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
: What do people think?
What, do people think? :-)
-- Larry Wall in <[EMAIL PROTECTED]>
use File::Copy;
print "Insert an empty diskette in drive A: ";
<STDIN>;
$to = 'a:';
$perlexe = $^X;
($perlbin = $perlexe) =~ s{[\\/][^\\/]*?$}{};
mkdir "$to\\bin", 0777;
copy $perlexe, "$to\\bin\\perl.exe";
copy "$perlbin\\Perl56.dll", "$to\\bin\\Perl56.dll";
($perllib = $perlbin) =~ s{[\\/][^\\/]*?$}{};
$perllib .= '\lib';
mkdir "$to\\lib", 0777;
foreach (qw(AutoLoader.pm Carp.pm Exporter.pm strict.pm XSLoader.pm vars.pm subs.pm
warnings.pm)) {
copy "$perllib\\$_", "$to\\lib\\$_";
}
mkdir "$to\\lib\\File", 0777;
copy "$perllib\\File\\Glob.pm", "$to\\lib\\File\\Glob.pm";
mkdir "$to\\lib\\auto", 0777;
mkdir "$to\\lib\\auto\\File", 0777;
mkdir "$to\\lib\\auto\\File\\Glob", 0777;
copy "$perllib\\auto\\File\\Glob\\Glob.dll", "$to\\lib\\auto\\File\\Glob\\Glob.dll";