Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Plack middleware sets Plack env value but it's not consumable in the same builder

by haj (Vicar)
on Apr 18, 2021 at 15:16 UTC ( [id://11131433]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11131433]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-19 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found