in reply to Function::Parameters, Types::Standard, and Perl::Critic

Types::Standard will use XS to implement a lot of checks when possible. I don't know all the details of how Function::Parameters employs Types::Standard, but you may be creating a situation where you're trying to deparse an XS sub, which would be impossible. You could set the "PERL_TYPE_TINY_XS" environment variable to "0" before running and see if that makes a difference.

  • Comment on Re: Function::Parameters, Types::Standard, and Perl::Critic

Replies are listed 'Best First'.
Re^2: Function::Parameters, Types::Standard, and Perl::Critic
by choroba (Cardinal) on Feb 17, 2019 at 16:26 UTC
    Unfortunately, it still hangs :-(.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]