perl-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher H. Laco" <cl...@chrislaco.com>
Subject Re: Apache::TestMM->test dies after upgrade to 1.27
Date Sat, 22 Oct 2005 00:46:47 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christopher H. Laco wrote:
> Christopher H. Laco wrote:
> 
>>>After upgrading Apache-Test to 1.27, my Makefile.PL dies with this error:
>>>
>>>
>>>
>>>>>Can't use string ("Apache::TestMM") as a HASH ref while "strict refs"
in use at /usr/local/lib/perl/5.8.7/Apache/TestMM.pm line 56.
>>>
> 
> Damnit...like 56:
> 
> 
>>>    my $tests = 'TEST_FILES = ' . (exists $self->{'test'} ? $self->{'test'}->{'TESTS'}
: '') . "\n";
> 
> 
> Borked by my own patch. Serves me right. :-)
> I shouldn't have assume $self->{'test'} was a hashref..
> 
> Now I guess the other quesiton is what it is now..
> 
> -=Chris

Actually, somethings not quite right...

My makefile.PL  has this:

    test  => { TESTS => join ' ', (glob("t/*.t"))}

So, how is it that $self in TestMM->test isn't a blessed hash like it
was in 1.26?

- -=Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDWYv3+66dLHM50ssRAo0jAJ9qZZkniFH96kSF6l6vkLh0ksql7wCfSFqj
VROrjA0Aol8g/5KcmPr9Qho=
=Bg3w
-----END PGP SIGNATURE-----

Mime
View raw message