How do I pass a function, a, to function, b, and have b call a in Perl?
a
b
Following up to Eli Courtwright's example: If you only use the first function once, you could also call b with an anonymous function, like this:
b( sub { print "Hello World\n"; } );