I just watched the slides of David Golden's Taking Perl to Eleven with Higher-Order Functions as presented on the Perl Conference 2018. The video of the talk is available on YouTube:
Sometimes, you just need your Perl to go one higher. This talk will teach you how to use functions that return functions for powerful, succinct solutions to some repetitive coding problems. Along the way, you’ll see concrete examples using higher-order Perl to generate declarative, structured “fake” data for testing.