22 Feb
2011
22 Feb
'11
5:01 p.m.
Marco Fontani <mfontani@cpan.org> writes:
the do() you are using gives the PSGI tester the code reference it needs (your app) to run tests against.
Hi, Marco, thanks for your response. I do actually understand what PSGI wants, and I'm even in the failing case, I am providing it with a codref, otherwise I wouldn't be getting a 404 page generated by Dancer when I request '/'. My question is why is it that dance() is giving back an incorrectly initialized application object in my failing test script, when it gives back a correct one when it is insulated by a do "" or eval ""? Mike.