I am writing a shell script to automate the installation of cpan (Comprehensive Perl Archive Network) modules. The first command is being executed and it enters into the cpan shell, but the later commands are not detected. I think the later commands are not being executed as it is a different shell. Any leads on this is appreciated. Thanks. Answer
Tag: cpan
CPAN giving all sorts of errors on ubuntu
I am just trying to run a simple perl program to import data from xml and export it to database. Use Mysql; did not work, so I used DBD::mysql instead after failing to get Mysql.pm from cpan. However, I am unable to install anything. I am trying to install xml parser module, but cpan gives these errors no matter what