hkoba / yatt_lite

YATT::Lite - Template with "use strict"
Other
5 stars 0 forks source link

Testing aid - `yatt render` should respect %ENV #194

Open hkoba opened 4 years ago

hkoba commented 4 years ago

We have yatt call. But for education, I usually start with yatt render. In such a situation, passing entire %ENV as $CON->env helps command-line debugging of PSGI apps more.

% PATH_INFO=/foo yatt render public/index.yatt
% PATH_INFO=/foo yatt -d render public/index.yatt