[Dancer-users] Dynamic 404,500 error pages

ambs ambs+dancer at perl-hackers.net
Tue Feb 22 22:10:17 CET 2011


On 22/02/2011 21:00, Thomas Maier wrote:
> Hi all,
>
> Is it possible to use TT to build the content
> of the 404 and 500 error sites dynamically ?

Well, if it isn't, we need to do it (in fact I think it isn't).

Dear architect sukria, my suggestion would be:

   error_404 => sub { ... };

or

   _404_ => sub { ... };

Cheers :)


More information about the Dancer-users mailing list