Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CGI-Application-Server CPAN distribution.

Report information
The Basics
Id: 72906
Status: resolved
Priority: 0/
Queue: CGI-Application-Server

People
Owner: Nobody in particular
Requestors: bitcard [...] mfedv.net
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.062
Fixed in: (no value)



Subject: $object as entry point - add caveat
Hi, this is not really a bug in CGI::Application::Server itself, just a suggestion for the documentation. The example in the SYNOPSIS section uses a CGI::Application object $object as entry point for '/users', i.e. this object persists between multiple requests. So far, the CGI::Application framework does not fully support persistence out-of-the-box, e.g. header modifications persist and show up again in the next reply (Redirect loop). A small comment would be nice, perhaps like this: # this CGI::Application object will stay persistent, # might not be safe to use in this way - your mileage may vary # http://www.mail-archive.com/cgiapp@lists.erlbaum.net/msg08997.html my $object = MyOtherCGIApp->new(PARAMS => { foo => 1, bar => 2 }); Regards Matthias
added in git -- rjbs