Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 21459
Status: resolved
Priority: 0/
Queue: PAR

People
Owner: smueller [...] cpan.org
Requestors: perl-cpan [...] bereft.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 0.93
  • 0.952
Fixed in: (no value)



Subject: Can't locate object method "binmode" via package "IO::File"
Here's a test case which fails for me on windows XP: $ pp -z 0 -o iof.exe -e "use IO::File; IO::File->new->binmode; die 'done'" -M IO::File $ iof.exe Can't locate object method "binmode" via package "IO::File" at script/pp1wVV8.pl line 1. It's actually occurring in HTTP::Server::Simple::Static 0.04 but the above seems to capture the problem. Module::ScanDeps 0.51 and 0.63, This is perl, v5.8.8 built for MSWin32-x86-multi-thread from ActiveState Brad
I think this is caused by an old IO::File packaged in PAR which is used in preference to the version 1.13_01 installed in my windows dist. #line 1 "C:/aperl58/lib/IO/File.pm" # package IO::File; #line 110 [...] $VERSION = "1.10";
Installing PAR-0.952 from CPAN by hand instead of using the ppm (of the same version) seemed to resolve the problem.
On Mi. 13. Sep. 2006, 02:32:12, BOWMANBS wrote: Show quoted text
> I think this is caused by an old IO::File packaged in PAR > which is used in preference to the version 1.13_01 installed > in my windows dist. > > #line 1 "C:/aperl58/lib/IO/File.pm" > # > > package IO::File; > > #line 110 > [...] > $VERSION = "1.10";
That's correct. I haven't ignored your bug report but instead started a discussion on the par@perl.org list because of it. Your analysis of the problem is correct. We're thinking about how to solve the problem. A lack of C coders with a bit of spare time might block the issue for a while, however. If you're interested in the discussion, feel free to chime in via nntp.perl.org or lists.perl.org. I'm marking ticket "open" again because this really is a non-feature in PAR if not a bug. It's a binary incompatibility which can be solved. Best regards, Steffen
On Mo. 18. Sep. 2006, 08:21:18, SMUELLER wrote: Show quoted text
> On Mi. 13. Sep. 2006, 02:32:12, BOWMANBS wrote:
> > I think this is caused by an old IO::File packaged in PAR > > which is used in preference to the version 1.13_01 installed > > in my windows dist. > > > > #line 1 "C:/aperl58/lib/IO/File.pm" > > # > > > > package IO::File; > > > > #line 110 > > [...] > > $VERSION = "1.10";
> > That's correct. I haven't ignored your bug report but instead started a > discussion on the par@perl.org list because of it. Your analysis of the > problem is correct. We're thinking about how to solve the problem. A > lack of C coders with a bit of spare time might block the issue for a > while, however. If you're interested in the discussion, feel free to > chime in via nntp.perl.org or lists.perl.org. > > I'm marking ticket "open" again because this really is a non-feature in > PAR if not a bug. It's a binary incompatibility which can be solved.
And this problem should have been solved by the PAR 0.959 release! Hence, I'll close this ticket now. Steffen