httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: t_cmp oddities
Date Thu, 08 Apr 2004 15:00:01 GMT

>   ok t_cmp (
>           undef,
>           &get_undef,
>           "Retrieve undef from subroutine"
>           );

>   # expected: undef
>   # received: Retrieve undef from subroutine
>   not ok 1

get_undef is slurping up the text as an argument.  call it as get_undef()
instead (nobody really uses the & calling format anymore anyway :)

--Geoff

Mime
View raw message