Skip Menu |

This queue is for tickets about the Geo-Coder-CA CPAN distribution.

Report information
The Basics
Id: 125463
Status: resolved
Priority: 0/
Queue: Geo-Coder-CA

People
Owner: NHORNE [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.08
Fixed in: 0.11



Subject: Undeclared dependency IPC::System::Simple
This looks like "use autodie" is enabled for system() calls, but without making sure that IPC::System::Simple is installed: ... # Failed test 'Script bin/ca compiles' # at t/bin.t line 8. # 2 - IPC::System::Simple required for Fatalised/autodying system() at bin/ca line 5. # main::BEGIN() called at bin/ca line 5 # eval {...} called at bin/ca line 5 # BEGIN failed--compilation aborted at bin/ca line 5. # Failed test 'Script bin/ca runs' # at t/bin.t line 14. # 2 - IPC::System::Simple required for Fatalised/autodying system() at bin/ca line 5. # main::BEGIN() called at bin/ca line 5 # eval {...} called at bin/ca line 5 # BEGIN failed--compilation aborted at bin/ca line 5. # Failed test 'test 1' # at t/bin.t line 16. ...
The problem lies in autodial not Geo::Coder::CA.
On 2018-06-02 11:19:39, NHORNE wrote: Show quoted text
> The problem lies in autodial not Geo::Coder::CA.
No, this is explicitly documented in autodie: A plain "use autodie" implies "use autodie qw(:default)". Note that "system" and "exec" are not enabled by default. "system" requires the optional IPC::System::Simple module to be installed, and enabling "system" or "exec" will invalidate their exotic forms.