my $foo = Some::Other::Class( code => sub { DoThingsWith( $_[0] ) } );
In the previously mentioned absence of a verb, someone is definitely going to think the action comes from DoThingsWith()....
But I'd be the last person in the world to discourage a Very Cool, if Quite Tricky Idea. It's cleverness personified, and I don't care what The Damian says...cleverness has a place in the world!
Put it in Acme please, so nobody I code with uses it :)
~Jeff
|