go ahead... be a heretic | |
PerlMonks |
Re: Write a Filehandle w/Dancer2by hardburn (Abbot) |
on Aug 14, 2014 at 01:04 UTC ( [id://1097367]=note: print w/replies, xml ) | Need Help?? |
Annnnndddddd . . . it's not actually implemented in Dancer2 yet. Stepping through with the debugger, into Dancer2::Core::App::send_file() finds:
Which explains why it just returns when a scalarref is passed. There's also nowhere in the code that actually handles the callback. Plus, there's a comment at the end of:
So, that's that, then. "There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
In Section
Seekers of Perl Wisdom
|
|