Skip Menu |

This queue is for tickets about the Dist-Zilla-Plugin-CopyFilesFromBuild CPAN distribution.

Report information
The Basics
Id: 120792
Status: resolved
Priority: 0/
Queue: Dist-Zilla-Plugin-CopyFilesFromBuild

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

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



Subject: IO::File->new() called without using IO::File module
IO::File->new() is called twice in lib/Dist/Zilla/Plugin/CopyFilesFromBuild.pm without any prior "use" or "require" of that module. The call does not fail only because another loaded module loads IO::File transitively. If this assumption ceases, Dist::Zilla::Plugin::CopyFilesFromBuild will stop working. I recommend to add "use IO::File;" to the Dist::Zilla::Plugin::CopyFilesFromBuild module.
On Wed Mar 29 12:57:26 2017, ppisar wrote: Show quoted text
> IO::File->new() is called twice in > lib/Dist/Zilla/Plugin/CopyFilesFromBuild.pm without any prior "use" or > "require" of that module. The call does not fail only because another > loaded module loads IO::File transitively. If this assumption ceases, > Dist::Zilla::Plugin::CopyFilesFromBuild will stop working. > > I recommend to add "use IO::File;" to the > Dist::Zilla::Plugin::CopyFilesFromBuild module.
Thanks for the report. I've just pushed the fix, to be release in v0.170880.