On Wed, May 21, 2014 at 10:48:10AM -0500, Stefan Adams wrote:
  What about $self->app->stash() ?

Moving on from this I get to the renderer. I'd tried a few combinations,
but resulted in errors.

$self->render( template => 'rtable.txt.ep' );
Can't locate object method "render" via package "DeltaR::Command::query"
at lib/DeltaR/Command/query.pm line 77.

$self->app->render( template => 'rtable.txt.ep' );
Can't locate object method "render" via package "DeltaR" at
lib/DeltaR/Command/query.pm line 75

$self->app->renderer->render( template => 'rtable.txt.ep' );
Can't locate object method "stash" via package "template" (perhaps you
forgot to load "template"?) at
../perl5/lib/perl5//Mojolicious/Renderer.pm line 75.


--
Neil Watson
Linux/UNIX Consultant
http://watson-wilson.ca

--
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to