Your code is fine. Anonymous subroutines might take more memory than named ones if they close on lexical variables, so if you create many (*many*) instances of them you might start feeling the difference, but in this case, you won't.
In reply to Re: Getopt::Long good style?
by gaal
in thread Getopt::Long good style?
by Skeeve
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |