Why does my Perl program complain “Can't locate URI.pm in @INC”?

后端 未结 5 1305
臣服心动
臣服心动 2021-01-03 07:47

I\'m new to Perl. I get the following error when I run a script:

Can\'t locate URI.pm in @INC (@INC contains: /usr/local/packages/perl_remote/5.6.1/lib/5.6.1/i86pc         


        
5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-03 08:22

    In my case I just copied the perl folder to another machine and added path to bin folder to PATH environment variable. In order to fix the issue, I had to run the proper installation of ActivePerl which at the end setup all the environment properly for perl.

提交回复
热议问题