in reply to distributing a script with a module

Don't deal directly with $INST_SCRIPT. Just specify the scripts to install with EXE_FILES => [...] in the Makefile.PL.