Return to BSD News archive
#! rnews 1431 bsd Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!news.kei.com!news.mathworks.com!news.sprintlink.net!news-peer.sprintlink.net!news.radio.cz!CESspool!news.cesnet.cz!ns.felk.cvut.cz!not-for-mail From: Jaroslav Klaus <J.Klaus@sh.cvut.cz> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Perl problem - @INC Date: Sun, 09 Feb 1997 09:02:10 +0100 Organization: CTU Prague Lines: 17 Distribution: world Message-ID: <32FD8482.32BE@sh.cvut.cz> NNTP-Posting-Host: hell.sh.cvut.cz Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01 (Win95; I) Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35265 Hi ALl I found 'webcopy' (perl script) for HTTP mirroring, but when I run this script it notice me "Can't locate sys/socket.XX in @INC ....". I have this script in /usr/share/perl/sys/ (it is standart location). I tried to set INC (not @INC - first must be letter) to "/usr/share/perl" and setenv @INC to "/usr/share/perl" but nothing happen. When I copy "sys" directory to directory where 'webcopy' is located it is working properly. And when I write @INC=/usr/share/perl; directly to 'webcopy' script then it's also working properly. Does anybody know how to solve this problem? Thank you. -- Jarda P.S.: Does anybody know a better soft for HTTP mirror when 'webcopy'?