But that's what sub { ... } already returns. There is no need to have a subroutine reference that itself returns another subroutine reference when called, especially when you want the function call to happen instead.
In reply to Re^6: Can't get Dialog or messageBox to work from button
by Corion
in thread Can't get Dialog or messageBox to work from button
by SwaJime
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |