[Catalyst] Forward to view question

Tomas Doran bobtfish at bobtfish.net
Tue May 5 23:24:55 GMT 2009


On 5 May 2009, at 20:19, Dennis Daupert wrote:
>
>  I just got your post,  plugged it in, got an error. I'll need to  
> play with this a bit,

Sorry for pointing out the obvious, but this is just perl:

my $output = delete $c->res->{body};
opem(FH, ">file") or die;
print FH $output;
close(FH);

will do what you want...

You obviously need to do something to fill the body before and after  
the snippet shown, but ;_)

Cheers
t0m




More information about the Catalyst mailing list