On Tue, May 05, 2009 at 10:54:17AM -0400, Dennis Daupert wrote:
> I've created a view that's intended to write a couple of files to the file
> system.
>
> The output filename needs to be dynamically set. I'm having a bit of a go
> figuring out how to do that.
>
> The TT configuration documentatio
On Wed, May 6, 2009 at 5:28 PM, Andrew Rodland wrote:
>
> In that example you don't *have* a View::TTprint. Or if you do, it's just
> another subclas of C::V::TT with a different config and search path. No
> overloading, no OUTPUT. You forward to the view, it writes into
> $c->res->body
> like it
On Wednesday 06 May 2009 09:01:43 am Dennis Daupert wrote:
> On Tue, May 5, 2009 at 7:24 PM, Tomas Doran wrote:
> > my $output = delete $c->res->{body};
> > opem(FH, ">file") or die;
> > print FH $output;
> > close(FH);
> >
> > will do what you want...
> There are some things that aren't so obvio
On Tue, May 5, 2009 at 7:24 PM, Tomas Doran wrote:
>
> 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...
Hi Tom,
Thanks for your reply.
There are some th
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);
wil
On Tue, May 5, 2009 at 1:59 PM, Andrew Rodland wrote:
>
> some code
>
> Andrew
>
Hi Andrew,
I just got your post, plugged it in, got an error. I'll need to play with
this a bit, but have an appointment, so will try later.
I really appreciate the info.
/dennis
___
On Tuesday 05 May 2009 09:54:17 am Dennis Daupert wrote:
> I've created a view that's intended to write a couple of files to the file
> system.
>
> The output filename needs to be dynamically set. I'm having a bit of a go
> figuring out how to do that.
>
> The TT configuration documentation speaks
I've created a view that's intended to write a couple of files to the file
system.
The output filename needs to be dynamically set. I'm having a bit of a go
figuring out how to do that.
The TT configuration documentation speaks of an output subroutine:
OUTPUT => \&output,
Later on in the view b