This is another Getopt::Long annoyance I sometimes encounter. When calling the coderef destination, Getopt::Long does this inside an eval { ... } block, and exception thrown inside the coderef is always trapped. Sometimes we do want to die from the coderef destination.
This is another Getopt::Long annoyance I sometimes encounter. When calling the coderef destination, Getopt::Long does this inside an
eval { ... }
block, and exception thrown inside the coderef is always trapped. Sometimes we do want to die from the coderef destination.