Hi David,

apologies for the late reply.

> I installed libpoet-perl and am attempting to follow along with the
> example in Poet::Manual::Intro.  Creating the application appears to
> have worked:

...

> $ my_app/bin/run.pl 
> Running plackup, -E, development, --port, 5000, -R, 
> /home/dpchrist/sandbox/perl/poet/my_app/conf,/home/dpchrist/sandbox/perl/poet/my_app/lib,
>  /home/dpchrist/sandbox/perl/poet/my_app/bin/app.psgi
> Watching /home/dpchrist/sandbox/perl/poet/my_app/conf 
> /home/dpchrist/sandbox/perl/poet/my_app/lib 
> /home/dpchrist/sandbox/perl/poet/my_app/bin/lib 
> /home/dpchrist/sandbox/perl/poet/my_app/bin/app.psgi for file updates.
> Error while loading /home/dpchrist/sandbox/perl/poet/my_app/bin/app.psgi: 
> Can't locate Plack/Middleware/Debug.pm in @INC (@INC contains: 
> /home/dpchrist/sandbox/perl/poet/my_app/lib 
> /home/dpchrist/perl5/lib/perl5/i486-linux-gnu-thread-multi-64int 
> /home/dpchrist/perl5/lib/perl5/i486-linux-gnu-thread-multi-64int 
> /home/dpchrist/perl5/lib/perl5 /etc/perl /usr/local/lib/perl/5.14.2 
> /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 
> /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at 
> /usr/share/perl5/Plack/Util.pm line 22.

Apparently Plack::Middleware::Debug is not as optional as I had assumed,
at least when following the Intro. I'm awfully sorry about that, and
while I'll make it a requirement for the next Poet package, there's
little I can do for the version released with Debian Wheezy.

As a workaround, you can comment the 'enable "Debug";' line in
my_app/bin/app.psgi; that should let you start your server without
error.

Florian


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to