On Sat, Oct 20, 2012 at 11:12:40AM +0200, Kjetil Kjernsmo wrote: > I had a bunch of failures, see below, which is caused by the usage of > Scalar::Util::openhandle in a new parser in RDF::Trine, typically, I get: > > Undefined subroutine &Scalar::Util::openhandle called at constructor > RDF::Trine::Parser::Turtle::Lexer::new (defined at > /usr/home/cpan/pit/thr/conf/perl-5.10.1/.cpanplus/5.10.1/build/RDF- > Trine-1.001/blib/lib/RDF/Trine/Parser/Turtle/Lexer.pm line 600) line 43. > > Now, I've discussed this with the author of RDF::Trine, and opened an issue > on it: > https://github.com/kasei/perlrdf/issues/75 > So, as kasei says, openhandle has been there for a long time, and we'd like > to understand why this happens now. Can anyone please shed some light on > this?
I don't really have much to add apart from what's already been discussed there on github. But if you upload a distribution to the CPAN with a _ in its version - eg Test-RDF-1.11_001 - then that will get tested but won't show up in the CPAN index. See if there's anything helpful here: http://analysis.cpantesters.org/solved?distv=Test-RDF-1.11 If I'm reading things right, then your code breaks with Scalar::Util 1.22 and 1.25. -- David Cantrell | Official London Perl Mongers Bad Influence fdisk format reinstall, doo-dah, doo-dah; fdisk format reinstall, it's the Windows way