Re: [Catalyst] Catalyst::Response callbacks? Need to reap auto-generated files on disk after they are served.

2010-09-03 Thread Wade Stuart
On Thu, Sep 2, 2010 at 3:21 PM, Tommy Butler wrote: > Hello all :D > > In looking at the documents for Catalyst::Response I've recently > re-discovered some great little ways that Catalyst provides for you to > stream out big files. Awesome. > > Now I'd like to take *a bit futher* though. Pres

Re: [Catalyst] Catalyst::Response callbacks? Need to reap auto-generated files on disk after they are served.

2010-09-03 Thread Tommy Butler
Tomas Doran wrote: > Job for Catalyst::Plugin::RunAfterRequest? After looking at http://search.cpan.org/~flora/Catalyst-Plugin-RunAfterRequest-0.04/lib/Catalyst/Plugin/RunAfterRequest.pm I must say that this definitely looks promising. I'm going to try it out. Thank you Tomas =D And a big thanks

Re: [Catalyst] Catalyst::Response callbacks? Need to reap auto-generated files on disk after they are served.

2010-09-02 Thread Bill Moseley
On Thu, Sep 2, 2010 at 12:21 PM, Tommy Butler wrote: > > Now I'd like to take *a bit futher* though. Presently, in the process of > serving one kind of request, my cat app creates a large file and then > streams it back out to the browser. Ideally I'd like to clean up this file > after it gets

Re: [Catalyst] Catalyst::Response callbacks? Need to reap auto-generated files on disk after they are served.

2010-09-02 Thread Tomas Doran
On 2 Sep 2010, at 20:21, Tommy Butler wrote: What are your thoughts? Has anyone done something like this who would be willing to share their solution, or are there others among us who would be so kind as to share some ideas of their own? Job for Catalyst::Plugin::RunAfterRequest? Cheers t

[Catalyst] Catalyst::Response callbacks? Need to reap auto-generated files on disk after they are served.

2010-09-02 Thread Tommy Butler
Hello all :D In looking at the documents for Catalyst::Response I've recently re-discovered some great little ways that Catalyst provides for you to stream out big files. Awesome. Now I'd like to take *a bit futher* though. Presently, in the process of serving one kind of request, my cat app cr