my $webtest = Foo::Webtest->new; $webtest->get($page_to_test); # and then use the code in my root post