Stuff was hidden in:
$c->engine->env->{...};
I know this isn't very portable, but it's for an internal app where
being able to pass some extra info through from the plack middleware
will be very helpfu.
I'm curious though - How would you suggest such stuff is handled?
cheers,
Toby
On 21 October 2011 17:11, Toby Corkindale wrote:
Hi,
Is there a way to access values set in the PSGI "env" store, once
you're operating inside a catalyst controller method?
Catalyst::Engine::PSGI looks like it is passing the $env variable
along, but I haven't worked out how to access it.
I thought $c->request->env would do the trick, but that method (->env)
doesn't exist.
Any hints? Or is this something I should be leaving alone? ;)
Cheers,
Toby
--
Turning and turning in the widening gyre
The falcon cannot hear the falconer
Things fall apart; the center cannot hold
Mere anarchy is loosed upon the world
Hi,
Is there a way to access values set in the PSGI "env" store, once
you're operating inside a catalyst controller method?
Catalyst::Engine::PSGI looks like it is passing the $env variable
along, but I haven't worked out how to access it.
I thought $c->request->env would do the trick, but that method (->env)
doesn't exist.
Any hints? Or is this something I should be leaving alone? ;)
Cheers,
Toby
--
Turning and turning in the widening gyre
The falcon cannot hear the falconer
Things fall apart; the center cannot hold
Mere anarchy is loosed upon the world
--
Turning and turning in the widening gyre
The falcon cannot hear the falconer
Things fall apart; the center cannot hold
Mere anarchy is loosed upon the world