$ perl -d -e 42
Loading DB routines from perl5db.pl version 1.60
Editor support available.
Enter h or 'h h' for help, or 'man perldebug' for more help.
main::(-e:1): 42
DB<1> use JSON::Relaxed qw( from_rjson );
DB<2> $hash = from_rjson("{ \"foo\": 42 }")
Undefined subroutine &JSON::Relaxed::decode_json called at /usr/local/share/perl/5.34.0/JSON/Relaxed.pm line 282.
DB<3>
Replacing from_rjson with decode_rjson in the above works as expected, so it looks like the legacy routing support is broken.
Replacing
from_rjson
withdecode_rjson
in the above works as expected, so it looks like the legacy routing support is broken.