Apache::TestHandler man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

Apache::TestHandler(3)User Contributed Perl DocumentatioApache::TestHandler(3)

NAME
       Apache::TestHandler - a few response handlers and helpers

SYNOPSIS
	   package My::Test;
	   use Apache::TestHandler ();
	   sub handler {
	       my ($r) = @_;
	       my $result = do_my_test;
	       Apache::TestHandler::ok1 $r, $result;
	   }

	   sub handler2 {
	       my ($r) = @_;
	       my $result = do_my_test;
	       Apache::TestHandler::ok $r, $result;
	   }

DESCRIPTION
       "Apache::TestHandler" provides 2 very simple response handler.

FUNCTIONS
       ok $r, $boolean
	   The handler simply prints out "ok" or "not ok" depending on the
	   optional $boolean parameter.

	   If $boolean is omitted "true" is assumed.

       ok1 $r, $boolean
	   This handler implements a simple response-only test. It can be used
	   on its own to check if for a certain URI the response phase is
	   reached. Or it can be called like a normal function to print out
	   the test result. The client side is automatically created as
	   described in
	   <http://perl.apache.org/docs/general/testing/testing.html#Developing_Response_only_Part_of_a_Test>.

	   $boolean is optional. If omitted "true" is assumed.

       same_interp_counter
       same_interp_fixup
	   TODO

SEE ALSO
       The Apache-Test tutorial:
       <http://perl.apache.org/docs/general/testing/testing.html>.

       Apache::Test.

AUTHOR
       Doug MacEachern, Geoffrey Young, Stas Bekman, Torsten Foertsch and
       others.

       Questions can be asked at the test-dev <at> httpd.apache.org list For
       more information see: http://httpd.apache.org/test/.

perl v5.18.1			  2013-05-24		Apache::TestHandler(3)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net