I'm getting Can't locate Config/YAML.pm in @INC (you may need to install the Config::YAML module)
while running a perl script.
Can't locate Config/YAML.pm in @INC (you may need to install the Config::YAML module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at myperlscript line 8. BEGIN failed--compilation aborted at myperlscript line 8.
Line 8 of the script shows use Config::YAML;
.
I'm using Ubuntu and have installed the libdata-yaml-perl
and libyaml-perl
packages, but still am getting the same error. What else is needed?