で遊びたかったXML::Rabbit
のですが、最も単純なコードでも問題があります。これを1行にまとめることができました。
単純なファイルでは、私は使用します
use Class::Load;
その後:
perl test_optlist.pl
Can't locate Data/OptList.pm in @INC (you may need to install the Data::OptList module) (@INC contains: [CUT]) at /home/szymon/perl5/lib/perl5/Class/Load.pm line 8.
BEGIN failed--compilation aborted at /home/szymon/perl5/lib/perl5/Class/Load.pm line 8.
Compilation failed in require at test_optlist.pl line 2.
BEGIN failed--compilation aborted at test_optlist.pl line 2.
それでは、インストールしましょう:
$ cpanm Data::OptList
Data::OptList is up to date. (0.107)
Perl バージョン:
This is perl 5, version 17, subversion 8 (v5.17.8) built for x86_64-linux
問題はどこだ?