You actually do not need a closure, you should simply be able to do the following:
That should do what you want.. if I understand correctly.*ResultView_ItemClick = sub { $Display->results->Text(${$List{$_[0]}}{ +message}); }; ResultView_ItemClick(2);
In reply to Re: Re: Dynamic Subroutines?
by suaveant
in thread Dynamic Subroutines?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |