Thank you! This is very simple and enormously helpful.
Jen
From: Eden Cardim
To: The elegant MVC web framework
Sent: Thursday, March 9, 2017 7:16 AM
Subject: Re: [Catalyst] Getting DBIC schema from outside Catalyst?
If you want to reuse the configuration from MyApp:
use MyApp;
my
On Wed, Mar 8, 2017 at 6:15 PM, Robert Brown wrote:
> Hi Jen,
>
> You can use MyApp::Schema outside of Catalyst:
>
> my $schema = MyApp::Schema->connect( $ENV{ LIVE } ? 'live' : 'dev' );
>
> (I'm additionally using DBIx::Class::Schema::Config to be able to connect
> to different servers by using
For the time being i have modified and solved my issue as below:
sub end : Private {
my ( $self, $c ) = @_;
##
# code for manipulating stash here
##
$c->forward('serialize');
my $cb = $c->request->params->{callback} ;
if ($cb) {
my $body = \$c->re