Apache-FakeTable
view release on metacpan or search on metacpan
lib/Apache/FakeTable.pm view on Meta::CPAN
Apache::FakeTable - Pure Perl implementation of the Apache::Table interface
=head1 Synopsis
use Apache::FakeTable;
my $table = Apache::FakeTable->new($r);
$table->set(From => 'david@example.com');
$table->add(Cookie => 'One Cookie');
$table->add(Cookie => 'Another Cookie');
while(my($key, $val) = each %$table) {
print "$key: $val\n";
}
=head1 Description
This class emulates the behavior of the L<Apache::Table> class, and is
designed to behave exactly like Apache::Table. This means that all keys are
case-insensitive and may have multiple values. As a drop-in substitute for
( run in 2.115 seconds using v1.01-cache-2.11-cpan-e9199f4ba4c )