Your most recent version works fine on Perl 5.36+ but fails on earlier perls due to not having the experimental::builtin warning category. This PR fixes it by only quieting it conditionally on being a supporting perl version.
Additionally there's no need to pull in builtin.pm, because the builtin functions are always built in to the interpreter and always available on Perl 5.36 or later.
Your most recent version works fine on Perl 5.36+ but fails on earlier perls due to not having the
experimental::builtin
warning category. This PR fixes it by only quieting it conditionally on being a supporting perl version.Additionally there's no need to pull in
builtin.pm
, because the builtin functions are always built in to the interpreter and always available on Perl 5.36 or later.