NAME
Apache::Table - Perl interface to the Apache table structure
SYNOPSIS
use Apache::Table ();
my $headersout = $r->headersout;
while(my($key,$val) = each %$headersout) {
... }my $table = $r->headersout;
$table->set(From => 'dougm@perl.apache.org');
modperl needs to be compiled with at least one of the following options: DYNAMIC=1 PERLTABLEAPI=1 EVERYTHING=1DESCRIPTION
This module provides tied interfaces to Apache data structures. CCLLAASSSSEESSApache::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 aHASH reference blessed into the Apache::Table class and where HASH
is tied to Apache::Table:
headersin headersout errheadersout notes dirconfig subprocessenv MMEETTHHOODDSS get Corresponds to the "aptableget" function.my $value = $table->get($key);
my $value = $headersout->{$key};
set Corresponds to the "aptableset" function.$table->set($key, $value);
$headersout->{$key} = $value;
unset Corresponds to the "aptableunset" function.$table->unset($key);
delete $headersout->{$key};
clear Corresponds to the "aptableclear" function.$table->clear;
%$headersout = ();
add Corresponds to the "aptableadd" function.$table->add($key, $value);
merge Corresponds to the "aptablemerge" function.$table->merge($key, $value);
AUTHOR Doug MacEachernSEE ALSO
Apache(3), modperl(3)perl v5.8.6 2000-03-30 Table(3)