X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Fftp.pl;h=f366cdb6fdb8c127c4bbca60f6dbe9f3fd05c1f2;hb=f13cebb0cc38fcf4045cd5bc221d09dd45bbfeeb;hp=e87a9b260c7dadd337238beda4f7df8ac04609e2;hpb=79072805bf63abe5b5978b5928ab00d360ea3e7f;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/ftp.pl b/lib/ftp.pl index e87a9b2..f366cdb 100644 --- a/lib/ftp.pl +++ b/lib/ftp.pl @@ -89,7 +89,7 @@ # require 'chat2.pl'; -require 'socket.ph'; +eval "require 'socket.ph'" || eval "require 'sys/socket.ph'" || die "socket.ph missing: $!\n"; package ftp;