in reply to subref with stored argument?
my $code = sub {mysub(10, @_)}; sub mysub { # ... } [download]