in reply to Can't store CODE items at

:P Catalyst::Engine.

sub env :Global :Args(0) { use YAML; my ( $self, $c ) = @_; $c->response->content_type("text/plain"); $c->response->body( YAML::Dump( $c->engine->env ) ); }

Replies are listed 'Best First'.
Re^2: Can't store CODE items at
by phildeman (Scribe) on Apr 19, 2017 at 13:22 UTC

    Hey Your Mother,

    Thanks for this snippet of code. It worked like a charm!

    All the Best.

    -Phil-