Apache::Table man page on OpenServer

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

Table(3)	      User Contributed Perl Documentation	      Table(3)

NAME
       Apache::Table - Perl interface to the Apache table structure

SYNOPSIS
	   use Apache::Table ();

	   my $headers_out = $r->headers_out;
	   while(my($key,$val) = each %$headers_out) {
	   ...
	   }

	   my $table = $r->headers_out;
	   $table->set(From => 'dougm@perl.apache.org');

       mod_perl needs to be compiled with at least one of the following
       options:

	DYNAMIC=1
	PERL_TABLE_API=1
	EVERYTHING=1

DESCRIPTION
       This module provides tied interfaces to Apache data structures.

       CLASSES

       Apache::Table
	   The Apache::Table class provides methods for interfacing with the
	   Apache "table" structure.  The following Apache class methods, when
	   called in a scalar context with no "key" argument, will return a
	   HASH reference blessed into the Apache::Table class and where HASH
	   is tied to Apache::Table:

	    headers_in
	    headers_out
	    err_headers_out
	    notes
	    dir_config
	    subprocess_env

       METHODS

	   get Corresponds to the "ap_table_get" function.

		   my $value = $table->get($key);

		   my $value = $headers_out->{$key};

	   set Corresponds to the "ap_table_set" function.

		   $table->set($key, $value);

		   $headers_out->{$key} = $value;

	   unset
	       Corresponds to the "ap_table_unset" function.

		   $table->unset($key);

		   delete $headers_out->{$key};

	   clear
	       Corresponds to the "ap_table_clear" function.

		   $table->clear;

		   %$headers_out = ();

	   add Corresponds to the "ap_table_add" function.

		   $table->add($key, $value);

	   merge
	       Corresponds to the "ap_table_merge" function.

		   $table->merge($key, $value);

AUTHOR
       Doug MacEachern

SEE ALSO
       Apache(3), mod_perl(3)

perl v5.8.8			  2007-03-30			      Table(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OpenServer

List of man pages available for OpenServer

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