my $func = sub { do { something }; $func->($param1, $param2); }