16 Apr
2015
16 Apr
'15
9:25 a.m.
On Wed, 15 Apr 2015 17:55:11 +0100 John Barrett <john@jbrt.org> wrote:
get '/object' => sub { AnObject->new; };
Quick follow up on this, Wrapping the instance in a hashref constructor performs as expected: get '/object' => sub { { object => AnObject->new }; }; ...which I guess is what I should have been doing in the first place. Sorry for noise.