Roger Pettett > ClearPress-457 > ClearPress::view::error

Download:
ClearPress-457.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 413   Source  

NAME ^

ClearPress::view::error - specialised view for error handling

VERSION ^

$LastChangedRevision: 413 $

SYNOPSIS ^

DESCRIPTION ^

SUBROUTINES/METHODS ^

errstr - Get/set accessor for an error string to display

  $oErrorView->errstr($sErrorMessage);
  my $sErrorMessage = $oErrorView->errstr();

render - encapsulated HTML rather than a template, in case the template has caused the error

  my $sErrorOutput = $oErrorView->render();

DIAGNOSTICS ^

CONFIGURATION AND ENVIRONMENT ^

DEPENDENCIES ^

strict
warnings
base
ClearPress::view
Class::Accessor
English
Template
Carp

INCOMPATIBILITIES ^

BUGS AND LIMITATIONS ^

AUTHOR ^

Roger Pettett, <rpettett@cpan.org>

LICENSE AND COPYRIGHT ^

Copyright (C) 2007 by Roger Pettett

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: