port t0100-rack-input-tests.sh to Perl 5