Yet another stupid mistake #4

use Plack::Builder;

Instead of:

$app = builder { ... };

I wrote:

$app = sub { builder { ... } };

Now watch the weird errors you'll get if you do the same.

Leave a comment

About Steven Haryanto

user-pic A programmer (mostly Perl 5 nowadays).