The script gives an error, what could be the problem?

sudo /home/projects/system_sms_partition/delete_old_partitions.sh /home/projects/system_sms_partition/delete_old_partitions.conf

Can't locate Data / UUID.pm in @INC (@INC contains: / home / projects / SHARED_API / etc / perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14. 2 / usr / lib / perl5 / usr / share / perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 / usr / local / lib / site_perl.) At / usr / share / perl5 / Data / GUID .pm line 10. BEGIN failed - compilation aborted at /usr/share/perl5/Data/GUID.pm line 10. Compilation failed in require at /home/projects/SHARED_API/db.pm line 12. BEGIN failed - compilation aborted at /home/projects/SHARED_API/db.pm line 12. Compilation failed to require at /home/projects/system_sms_partition/delete_old_partitions.sh line 75. line 75.

  • The error described below is displayed, is it correct to install modules separately? Can't locate Sub / Install.pm in @INC (@INC contains: / home / projects / SHARED_API / etc / perl / usr / local / lib / perl / 5.14.2 /usr/local/share/perl/5.14.2 / usr / lib / perl5 / usr / share / perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 / usr / local / lib / site_perl.) at /usr/share/perl5/Data/GUID.pm line 11. BEGIN failed - compilation aborted at /usr/share/perl5/Data/GUID.pm line 11. - id_kv

1 answer 1

Perl can not find the module Data/UUID.pm

  • It is difficult to call an answer. Add information about installing Data :: UUID using cpan, for example - Mike
  • The question was "what could be the error?" - tCode
  • Writing a few lines about installation is not a problem, but for beginners who themselves do not understand such errors is very useful - Mike
  • Thanks installed, now apparently lacking another module: Can't locate Sub / Install.pm in @INC (@INC contains: / home / projects / SHARED_API / etc / perl /usr/local/lib/perl/5.14.2 / usr / local / share / perl / 5.14.2 / usr / lib / perl5 / usr / share / perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 / usr / local / lib / site_perl.) at /usr/share/perl5/Data/GUID.pm line 11. BEGIN failed - compilation aborted at /usr/share/perl5/Data/GUID.pm line 11. Compilation failed to require / db / db .pm line 12. BEGIN failed - compilation aborted at /home/projects/SHARED_API/db.pm line 12. - id_kv