|Subject:||Sub::Util can successfully load but not provide set_subname|
(migrated from) In Mojolicious we have a conditional use of set_subname. It checks that it can load Sub::Util and if it can it uses set_subname (see: . The weird thing is that we are having errors occasionally where it tries to call the function and yet it isn't there, like so: . I have had it happen to me a couple times, and while we haven't tracked it down exactly, the suspicion is that the wrong XS file gets loaded. In all cases 'cpanm --reinstall Sub::Util' fixes it and Mojolicious is using a safer idiom now, we just thought we should report it.