in reply to Re^2: Getopt::Long good style?
in thread Getopt::Long good style?
That way is fine also. I tend to shy away from &'s in general out of personal preference.
I just like...
'h|help' => sub { help() }, ... sub help { ... }
better than...
'h|help' => \&help, ... my $help = sub { ... }
--
"A long habit of not thinking a thing wrong, gives it a superficial appearance of being right." -- Thomas Paine
naChoZ
|
|---|