Subject: | dependencies for default plugins |
Date: | Mon, 1 Oct 2012 22:04:43 -0700 |
To: | bug-Devel-REPL [...] rt.cpan.org |
From: | Tatsuhiko Miyagawa <miyagawa [...] gmail.com> |
If you install Devel::REPL with a fresh perl and run re.pl, it
explodes because CompletionDriver::INC and CompletionDriver::Keywords
are enabled with the default profile but the dependencies to those
plugins are not required by default.
I recommend you to either a) make these dependencies (i.e. File::Next
and B::Keywords) default to 1 or b) disable plugins in the default
profile.
✗ re.pl
Failed to load role: Devel::REPL::Plugin::CompletionDriver::Keywords
Can't locate B/Keywords.pm in @INC (@INC contains:
/Users/miyagawa/perl5/perlbrew/perls/perl-5.16.1/lib/site_perl/5.16.1/darwin-2level
/Users/miyagawa/perl5/perlbrew/perls/perl-5.16.1/lib/site_perl/5.16.1
/Users/miyagawa/perl5/perlbrew/perls/perl-5.16.1/lib/5.16.1/darwin-2level
/Users/miyagawa/perl5/perlbrew/perls/perl-5.16.1/lib/5.16.1 .) at
/Users/miyagawa/perl5/perlbrew/perls/perl-5.16.1/lib/site_perl/5.16.1/Devel/REPL/Plugin/CompletionDriver/Keywords.pm
line 3.
BEGIN failed--compilation aborted at
/Users/miyagawa/perl5/perlbrew/perls/perl-5.16.1/lib/site_perl/5.16.1/Devel/REPL/Plugin/CompletionDriver/Keywords.pm
line 3.
Compilation failed in require at
/Users/miyagawa/perl5/perlbrew/perls/perl-5.16.1/lib/site_perl/5.16.1/Devel/REPL/Script.pm
line 40.
--
Tatsuhiko Miyagawa