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


_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to