harbor run -t openthoughts/tasktrove-exp-rpt-stack-bash-withtests-gpt5mini-v2-stack-bash-withtests-gpt4o-3242harbor download openthoughts/tasktrove-exp-rpt-stack-bash-withtests-gpt5mini-v2-stack-bash-withtests-gpt4o-3242Create a minimal Perl distribution in /app/ that can be built, tested and installed by the standard Perl build tools. The verifier will run either the Module::Build or ExtUtils::MakeMaker flow, so your project must include either Build.PL or Makefile.PL at /app/. Tests live in t/*.t and must all pass when the distribution is built and tested.
What to implement
Required file locations/names (examples — you may choose different names, but same structure):
Expected behavior when the verifier runs:
Notes and constraints
Deliverable
The following test script will be used to verify your solution:
#!/bin/bash
sed -i.bak '1 s|^.*$|#!/usr/bin/env perl|g' t/*.t
sed -i.bak 's|perl -w|/usr/bin/env perl|' t/make_executable.t
# If it has Build.PL use that, otherwise use Makefile.PL
if [ -f Build.PL ]; then
perl Build.PL
perl ./Build
perl ./Build test
# Make sure this goes in site
perl ./Build install --installdirs site
elif [ -f Makefile.PL ]; then
# Make sure this goes in site
perl Makefile.PL INSTALLDIRS=site
make
make test
make install
else
echo 'Unable to find Build.PL or Makefile.PL. You need to modify build.sh.'
exit 1
fi