plack/Plack

How to Find Out What Environment (development/production) is Plack running under?

mikkoi opened this issue · 2 comments

Is there any way to find out which environment Plack is using in a Middleware or inside an app (inside .psgi file)?
I run plackup and I have the same application running in development, staging and production.

Thanks. Closing issue.