Manual Pages for UNIX Darwin command on man Apache::Table
MyWebUniversity

Manual Pages for UNIX Darwin command on man Apache::Table

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

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=1

DESCRIPTION

This module provides tied interfaces to Apache data structures. CCLLAASSSSEESS

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:

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 MacEachern

SEE ALSO

Apache(3), modperl(3)

perl v5.8.6 2000-03-30 Table(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™