- or download this
C:\TEMP> mkdir tmp
C:\TEMP> echo blah >> tmp\a.txt
...
a: blah
a: blah blah
a: blah blah blah
- or download this
gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS
+-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-alias
+ing -mms-bitfields -I"C:\usr\local\apps\strawberry\perl\lib\CORE" -
+DPARL_EXE=\"parl.exe\" -DPAR_PACKER_VERSION=\"1.036\" -s -O2 boot.c
In file included from mktmpdir.h:85:0,
...
sha1.c:146:2: warning: right shift count >= width of type
T >>= 32;
^
- or download this
cpanm --installdeps pp &rem need to make
+sure all prereqs are in the non-locallib before starting the locallib
+ installation
start cpanm -L .\locallib --look pp &rem will put the
+`--look` shell in locallib mode
...
cpanm --notest . &rem from same she
+ll, so inherits the locallib from `--look`
exit &rem leaves the `-
+-look` shell
- or download this
setlocal
PATH=c:\path\to\locallib\bin;%PATH% &rem PATH=%~do0loc
+allib\bin;%PATH% &rem ... the second works in a .bat/.cmd
set PERL5LIB=C:\path\to\locallib\lib\perl5 &rem set PERL5LIB=
+%~dp0locallib\lib\perl5 &rem ... the second works in a .bat/.cmd
pp -x -o out.exe in.pl &rem see longer ve
+rsion, below
- or download this
pp --gui -M <lib#> ... --link=c:.../strawberry/c/bin/libexpat-1__.
+dll -x -a myIcoin.ico -o out.exe in.pl
+ ^^^^^^^^^^^^^^ = use -a for embedding icons and other resource
+s
...
^^^^^^^^ = may need to manually link DLLs;
+can use procexp when the `perl in.pl` is running to see all the libra
+ries
^^^^^^^^^^^^^ = if `in.pl` uses other modules, modules us
+ed by those might not always be incorporated, so use one or more -M t
+o ensure they get included
^^^^^ = do not include a console window in win32 executables