in reply to APPerl tutorial problem: default_script

OP here, I'm guessing the documentation is more advanced than the code and none of the "other ways of invoking embedded scripts" have actually been implemented yet (or bugs exist).

Commenting line 1185 in APPerl.pm lets the build happen but does not enable default_script:

$sentinelpos != -1 or die "Failed to find APPERL_DEFAULT_SCRIPT, is th +is an old APPerl binary?";
From the docs:

export APPERL_SCRIPTNAME=hello
echo $APPERL_SCRIPTNAME
hello
DOES NOT WORK!

From the docs:

APPERL_DEFAULT_SCRIPT is not found in the binary when using a hex editor!

perl.com --assimilate does not help

Looking at perl.com with a hex editor does reveal a change when setting default_script in apperl-project.json.

Start of perl.com without default_script (minus weird chars):

MZqFpD='
ø@JT' <<'@'
Start of perl.com with default_script:
MZqFpD='
ø/zip/bin/helloJT' <<'@'