Replace the setup_engine workaround with a better one
authorAndrew Rodland <andrew@cleverdomain.org>
Thu, 21 Jul 2011 20:50:19 +0000 (16:50 -0400)
committerAndrew Rodland <andrew@cleverdomain.org>
Thu, 21 Jul 2011 20:50:19 +0000 (16:50 -0400)
commit2e1f92a3602e2ff4bad339c31b5d459a0f5032f2
tree619e0a882980342b235c548c3776eb4bfe1e89b2
parent0c6352ff331d7d1c43931d24e1fd8efb21b6d902
Replace the setup_engine workaround with a better one

Instead of letting the .psgi setup_engine('PSGI') and then trying
to undo the damage, add a flag that makes setup_engine not really
load the requested engine if we're in the middle of loading a myapp.psgi
lib/Catalyst.pm