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

Bill Moseley moseley at hank.org
Fri Sep 3 04:00:34 GMT 2010


On Thu, Sep 2, 2010 at 12:21 PM, Tommy Butler <ace at tommybutler.me> 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 fi=
le
> after it gets cooked up and streamed out.  I'd like to utilize some kind =
of
> callback so that after the file has been completely consumed by the remote
> client, I can go ahead and safely remove it from server-side disk.
>

File::Temp's unlink feature?


-- =

Bill Moseley
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20100902/e227e=
bb8/attachment.htm


More information about the Catalyst mailing list