William McKee wrote:

Also William can you check what Test::More does to deal with this problem? Eventually we may drop t_cmp completely and move into Test::More, whose API is much reacher and you better use it from the very beginning instead of Apache::TestUtil, if you can afford requiring Test::More.


All tests in the following script pass:

---------------------------------
use Test::More tests => 2;
# Test scripts for Stas
is (
undef,
&get_undef,
"Retrieve undef from subroutine"
);
sub get_undef {
return;
}
---------------------------------

Thanks William,

I've checked the implementation in Test/More.pm and fixed t_cmp() accordingly:

-sub t_cmp {
+sub t_cmp ($$;$) {

the workarounds are no longer needed with the current cvs version of A-T.

__________________________________________________________________
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