As a matter of fact, there's nothing particularly unusual about wanting to do this: its called "currying". --Davemy $code = sub { mysub(10, @_) };
In reply to Re: subref with stored argument?
by dpuu
in thread subref with stored argument?
by Flame
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |