/usr/share/doc/libsysadm-install-perl/examples/mkperl is in libsysadm-install-perl 0.43-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #!/usr/bin/perl
use Log::Log4perl qw(:easy);
Log::Log4perl->easy_init({level => $DEBUG, layout => '%F %L: %m%n'});
use Sysadm::Install qw(download hammer untar cd sysrun);
download "http://www.perl.com/CPAN/src/stable.tar.gz";
untar "stable.tar.gz";
cd "stable";
print `pwd`, "\n";
hammer("./Configure", "-d", "-D", "prefix=/home/mschilli/PERL-test");
sysrun("make install");
|