Gagan Gagan - 9 months ago 49
Perl Question

How to install Data::Printer perl module?

perl -e "use Data::Printer"


Can't locate Data/ in @INC (you may need to install the Data::Printer module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.


From the terminal:

cpan Data::Printer

This will install the module and any dependencies