in reply to Plack middleware sets Plack env value but it's not consumable in the same builder

That's a simple mistake: $env{'psgix.request_id'}; should read $env->{'psgix.request_id'};.

I can't resist: You'd have easily caught this with use strict.

Replies are listed 'Best First'.
Re^2: Plack middleware sets Plack env value but it's not consumable in the same builder
by 1nickt (Canon) on Apr 18, 2021 at 15:48 UTC

    Thank you! I am suitably chastened.


    The way forward always starts with a minimal test.