Closed sergeykolychev closed 7 years ago
@mauke No worries, I see your point. I just did this for my project, works for me :-) https://github.com/sergeykolychev/mxnet/blob/master/perl-package/AI-MXNet/lib/AI/MXNet/Function/Parameters.pm#L27 Thank you for keeping _croak in the Perl space!
The reason why (most of) the errors in F:P don't include a stack trace is that they try to mimic perl's built in errors, which also only give a single source location.
However, you can force a stack trace by installing Devel::Confess and running your code with
perl -d:Confess
. Would that work for you?