Take me over?
NAME
Posy::Plugin::CgiCarp - Posy plugin to aid debugging by using CGI::Carp.
VERSION
This describes version 0.60 of Posy::Plugin::CgiCarp.
SYNOPSIS
@plugins = qw(Posy::Core
...
Posy::Plugin::CgiCarp));
DESCRIPTION
This plugin is for developers to aid debugging by making all fatal errors and warning messages be displayed in the browser by using the CGI::Carp module.
Activation
This plugin needs to be added to the plugins list.
This replaces the 'debug' and 'print_header' methods; note that if a plugin needs to print a header (such as, if, for example, it replaces the 'render_page' method) then it should call the 'print_header' method.
Helper Methods
Methods which can be called from within other methods.
print_header
$self->print_header(content_type=>$content_type,
status=>$status,
extra=>$extra);
Print a web-page header, with content-type and any extra things required for the header. Turns on warningsToBrowser.
debug
Print a debug message (for debugging) Checks $self->{'debug_level'}
REQUIRES
CGI::Carp
Posy::Core
Posy
Test::More
SEE ALSO
perl(1). Posy
BUGS
Please report any bugs or feature requests to the author.
AUTHOR
Kathryn Andersen (RUBYKAT)
perlkat AT katspace dot com
http://www.katspace.com
COPYRIGHT AND LICENCE
Copyright (c) 2004-2005 by Kathryn Andersen
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.