> -----Original Message----- > From: Stas Bekman [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 11, 2002 2:02 PM > To: [EMAIL PROTECTED] > Subject: Re: MM_Unix changes in bleedperl > > > Geoffrey Young wrote: > > (sorry if this pops up twice - I've been having > subscription problems due to > > a change in my outgoing email address) > > I did adjust the import method in TestMM recently (because it didn't > work across many Makefiles),
I saw that, but those changes were after 1.99 was released, right? this happens with the 1.99 Apache::Test as well. > but why do you call ->clean? I can't remember :) I also can't quite figure out what it does, either, since Makefile is the same whether I call/import it or not. > You want to > import this method for Makemaker to pick it up, so you either do: > > use Apache::TestMM qw(clean); > > or > > require Apache::TestMM; > Apache::TestMM->import('clean'); the last time I played with all this doug said I didn't need to call import(), which is why it wasn't there :) http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=98955066509326&w=2 at any rate, this works fine for me now - thanks! if (eval "require Apache::TestMM") { Apache::TestMM::generate_script('t/TEST'); Apache::TestMM->import(qw(test clean)); return Apache::TestMM->test; } --Geoff