The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.


Apache::Peek - A data debugging tool for the XS programmer (under mod_perl)


        use Apache::Peek;
        Dump( $a );
        Dump( $a, 5 );
        DumpArray( 5, $a, $b, ... );

        # more functionality inherited from Devel::Peek


Apache::Peek is a sub-class of Devel::Peek. The only difference is that it overrides the stderr stream, to which Devel::Peek sends its output, and send the output to the client instead.

Note: The following table summarizes what parts of the Devel::Peek's API are available, depending on the used Perl version and configurations:

  5.005_0x                 all
  5.6.x                    only Dump()
  5.8.x (w/  -Duseperlio)  all
  5.8.x (w/o -Duseperlio)  none

Patches to complete the functionality under all configurations are welcome.

Apache::Peek works both with mod_perl 1.0 and 2.0.

See the Devel::Peek manpage for a complete documentation.


Hacking the mod_perl versions:

Philip M. Gollucci

Previously: Doug MacEachern and Stas Bekman

Writing the original Devel::Peek

Ilya Zakharevich


Copyright (c) 1995-98 Ilya Zakharevich. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Author of this software makes no claim whatsoever about suitability, reliability, edability, editability or usability of this product, and should not be kept liable for any damage resulting from the use of it. If you can use it, you are in luck, if not, I should not be kept responsible. Keep a handy copy of your backup tape at hand.


perlguts, and perlguts, again.