On 2005-03-04, Andy Lester <[EMAIL PROTECTED]> wrote: > I've updated Test::WWW::Mechanize to add get_ok() and follow_link_ok() > methods. If you've been writing > > $mech->get( $url ); > ok( $mech->success, 'Fetched home page' ); > > you can now do that as > > $mech->get_ok( $mech->success, 'Fetched home page' );
I don't understand how this could work. Wouldn't "$mech->success()" get called /before/ get_ok() ? Perhaps you mean this: $mech->get_ok( $url, 'Fetched home page' ); That makes more sense to me. Nice feature. Mark