hideo55 / Module-Build-XSUtil

A Module::Build class for building XS modules
Other
6 stars 8 forks source link

Got an error that IO::File forget load. #3

Closed kenchan0130 closed 10 years ago

kenchan0130 commented 10 years ago

Module::Build doesn't load IO::File 0.4006 or more. Changes of Module::Build So, such error the subject is occurred.

./.cpanm/work/1398652351.31870/build.log:Can't locate object method "new" via package "IO::File" (perhaps you forgot to load "IO::File"?) at /home/developer/Workshop/local/lib/perl5/Module/Build/XSUtil.pm line 111.

Filehandle method calls load IO::File on demand perl version 5.14.0 or more.

my operating environment Perl 5.10.1

spansh commented 10 years ago

Ironically we came across a similar issue on our perl version just today as well. This issue "https://github.com/hideo55/Module-Build-XSUtil/pull/4" was created by a pull request which I've submitted which should solve the problem for you.

https://github.com/hideo55/Module-Build-XSUtil/pull/4

hideo55 commented 10 years ago

This issue is fixed in 0.07.