Skip Menu |
 

This queue is for tickets about the Devel-REPL CPAN distribution.

Report information
The Basics
Id: 88563
Status: new
Priority: 0/
Queue: Devel-REPL

People
Owner: ether [...] cpan.org
Requestors: ether [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.003021
Fixed in: (no value)



Subject: poor handling in plugins depending on other plugins using optional features
Download (untitled) / with headers
text/plain 827b
t/load_plugins.t in the 1.003021 release dies a horrible death when optional features are not installed -- 'use Devel::REPL::Plugin::CompletionDriver::Globals' does not detect at compile time that Devel::REPL::Plugin::Completion is not available, so it can also bail out of compilation. Also see RT#88562... it would help if load_plugin() returned false if loading failed, but this doesn't seem to be happening at compile time (even though BEFORE_PLUGIN is called via role application) -- I don't understand why this is running too late to bail out of compilation. I'm fixing this for now by adding a 'use Devel::REPL::Plugin::Completion' to the module, but this feels like a hack, as load_plugin('Completion') should be be able to handle this, so I'd appreciate if someone else would take a look and suggest a better fix.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.