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). My CPAN ID: SHARYANTO. I'm sedusedan on perlmonks. My twitter is stevenharyanto (but I don't tweet much). Follow me on github: sharyanto.