miyagawa/Starman — pull request #61 by florolf (2013-01-16 02:26:31+00:00)
Title: _prepare_env: check definedness instead of value

Check whether inputbuf is defined instead of evaluating it for truth.

The old behavior caused a body consisting only of "0" to disappear; this
commit fixes the problem.

This is essentially a duplicate of https://github.com/PerlDancer/Dancer/pull/858.