Menu

#78 Win32::GUI bootstrapping conflicts with DateTime

1.06
open
nobody
5
2014-10-13
2009-03-04
No

Attempt to run the following trivial program:

#!perl
use strict;
use warnings;
use DateTime;
use Win32::GUI ();

Note that it fails with an error that (Win32::GUI::)DateTime cannot be loaded as the version does not match.. because somehow the bootstrap_subpackage() routine in Win32::GUI is getting confused.

I attach a patch that seems to solve this problem; It passes Win32::GUI tests, and works on my little app, but I can't guarantee it doesn't break some strange magic elsewhere.

Discussion

  • Toby Corkindale

    Toby Corkindale - 2009-03-04

    Patch to adjust bootstrapping behaviour.

     
  •  kmx

    kmx - 2014-10-13

    fixed in 1.08

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.