William McKee wrote:
Hi folks,

Hopefully I'm on the right mailing list for this discussion. I have the
misfortunate of needing to get a package I've written to work under
Win32 (2003 Server and XP). While doing so, I've come across some
problems in the A::T module. Specifically, the lib->import($top_dir)
line in TestConfig.pm is failing with the following error:

  "C:\work\bug-reporting-skeleton-mp2" is not exported by the lib module
    Can't continue after import errors at
    C:/Perl/site/lib/Apache/TestConfig.pm line 223

Using Geoff's bug reporting framework, I tracked the error down to the
Time::Piece package. If I use this package, I get the error. If I don't,
there's no problem. I was seeing this issue under WinXP with Apache

That most likely means that someone redefines sub lib::import. Could be Time::Piece or something else used by that module. It's their fault, not A-T's one. You could easily verify that by adding something like:


 no warnings 'redefine';
 do "lib.pm";

before line 223, which will override it again.

To debug the problem, add:

use Carp;
$SIG{__DIE__} = \&Carp::confess;

in which case you will see who generates that error message.


-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Reply via email to