in reply to Combining Function::Parameters with Type::Standard's InstanceOf

This is such a good observation I decided to travel back to 2017 (a happier time) and put it on StackOverflow: https://stackoverflow.com/questions/45786723/functionparameters-what-does-in-method-missing-type-name-after.
  • Comment on Re: Combining Function::Parameters with Type::Standard's InstanceOf

Replies are listed 'Best First'.
Re^2: Combining Function::Parameters with Type::Standard's InstanceOf
by choroba (Cardinal) on Mar 18, 2022 at 17:01 UTC
    Your link showed me that I travelled there, too, to upvote both the question and answer. But I have since forgotten I'd done so, and more importantly, that I'd known the solution. Several days ago, I needed the solution again, but somehow wasn't able to google the answer, so had to reinvent it - and decided to post about it as it seemed non-trivial.
    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
      Memory is a funny thing!