Return-Path: Delivered-To: apmail-httpd-test-dev-archive@httpd.apache.org Received: (qmail 98667 invoked by uid 500); 11 Apr 2002 17:28:09 -0000 Mailing-List: contact test-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: test-dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list test-dev@httpd.apache.org Received: (qmail 98494 invoked from network); 11 Apr 2002 17:28:08 -0000 Message-ID: From: Geoffrey Young To: "'test-dev@httpd.apache.org'" Subject: MM_Unix changes in bleedperl Date: Thu, 11 Apr 2002 13:33:36 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N (sorry if this pops up twice - I've been having subscription problems due to a change in my outgoing email address) hi all... just recently the Makefile.PL I've been using as a template for Apache::Test started failing under bleedperl. here's the error: Can't use string ("Apache::TestMM") as a HASH ref while "strict refs" in use at /src/bleedperl/lib/5.7.3/ExtUtils/MM_Unix.pm line 352. my Makefile.PL is listed below. I really can't remember why I was calling Apache::TestMM->clean in the first place, which is the call that produces the error. is that call necessary any more? with older perls, where the call succeeds, the generated Makefile is the same both with and without it. sorry I'm foggy as hell these days... --Geoff use ExtUtils::MakeMaker; WriteMakefile( 'NAME' => 'Cookbook::TestMe', 'VERSION_FROM' => 'TestMe.pm', ); sub MY::test { if (eval "require Apache::TestMM") { Apache::TestMM::generate_script('t/TEST'); Apache::TestMM->clean; return Apache::TestMM->test; } # The whitespace in front of @echo MUST be a single tab! return <<'EOF'; test:: @echo This test suite requires Apache::Test @echo available from the mod_perl 2.0 sources @echo or the httpd-test distribution. EOF }