Skip to content
Pure Perl implementation of the Apache::Table interface.
Find file
New pull request
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Apache/FakeTable version 0.07

This class emulates the behavior of the Apache::Table class.

Apache::FakeTable is designed to behave exactly like Apache::Table, and differs in only one respect. When a given key has multiple values in an Apache::Table object, one can fetch each of the values for that key using Perl's each operator:

while (my ($k, $v) = each %$table) {
    push @cookies, $v if lc $k eq 'set-cookie';

If anyone knows how Apache::Table does this, let us know! In the meantime, use get() or do() to get at all of the values for a given key (they're much more efficient, anyway).


To install this module, type the following:

perl Build.PL
./Build test
./Build install

Or, if you don't have Module::Build installed, type the following:

perl Makefile.PL
make test
make install


This module requires no modules or libraries not already included with Perl. Earlier versions of Perl will need Test::More, part of the Test::Simple distribution, in order to successfullly run ./Build test.

Copyright and Licence

Copyright (c) 2003-2011, David E. Wheeler. Some Rights Reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Something went wrong with that request. Please try again.