in reply to Ambiguous error message from JSON::Path
it seems you need my $value = $arr_path->value( $json ); instead of $value = $arr_path->value();
I also added use strict and use warnings ..
L*