2
1
I am trying to run a Perl script that, near the beginning, has
use Env '$Foo1', '$Foo2';
I am getting the following message:
Can't locate Env.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ../path/to/Foo3 line 8
I have tried to find the Env.pm module (find . -name Env.pm -print
) but nothing happens, it just returns to the command prompt.
I am using RHEL7 and perl v5.16.3.