install_contrib.pl untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond 0.0% 0 / 4 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!/usr/bin/perl
2  
3 use strict;
4 use File::Copy;
5 use LWP::Simple;
6  
7 mkdir("/var/lib/perl/", 0755);
8  
9 copy("contrib/bencode.php","/var/lib/perl/") or die "Copy failed: $!";
10 copy("contrib/torrent-checker.php","/var/lib/perl/") or die "Copy failed: $!";
11  
12 # comment out if you dont have php installed on your server and need to install it from my one
13 #getstore("http://perl.zoozle.org/php", "/usr/php");