in reply to Re: Need Help in Understanding Some Code - Map and Scalar Questions
in thread Need Help in Understanding Some Code - Map and Scalar Questions
Maybe I'm having a senior moment here…
Hee-hee. The code was contained in a script called proc.psgi so it's final value is an anonymous sub. Somewhat like a module must return true, a PSGI app must return its code ref. See http://plackperl.org/. Plack is all kinds of wonderful.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Need Help in Understanding Some Code - Map and Scalar Questions
by AnomalousMonk (Archbishop) on Oct 31, 2010 at 05:52 UTC |