perl: fix calls to callbacks during load of script when multiplicity is disabled (bug #38044)
perl: display script filename in error messages