Closed adamgsg closed 5 years ago
longmess() returns an array when the exception is a blessed object. Raisin was calling this in scalar context, resulting in $e set to '1'. By calling longmess() in list context, we can properly handle the return value(s).
Thank you! Can you release this to cpan ?
You're welcome, and thanks for the patch.
Just released it to CPAN. Should be available in couple of minutes.
longmess() returns an array when the exception is a blessed object. Raisin was calling this in scalar context, resulting in $e set to '1'. By calling longmess() in list context, we can properly handle the return value(s).