[Catalyst] Test::WWW::Mechanize::Catalyst get_ok returns an HTTP::Response object ... ?

Daniel McBrearty danielmcbrearty at gmail.com
Mon Jun 5 11:53:12 CEST 2006


according to the man page it should ...

"A wrapper around WWW::Mechanize's get(), with similar options, except
the second argument needs to be a hash reference, not a hash. Like
WWW::Mechanize's get(), it returns an HTTP::Response object."

but when I do this :

my $r = $mech->get_ok('some/url');
print Dumper $r;

I see $r is just a scalar, 1.

I am currently using a slightly modded version of T:W:M:C because of
bug #19361, but I did a quick check with the old one and found the
same ...

anyone actually used the return value of get_ok before? bug?


D


-- 
Daniel McBrearty
email : danielmcbrearty at gmail.com
www.engoi.com : the multi - language vocab trainer
BTW : 0873928131



More information about the Catalyst mailing list