Place your @SIG{qw(__DIE__ __WARN__)} handler initialisation after the Getopt::Long stanzas.
If you want them to live in INIT blocks, wrap your option handling into an INIT block before the signal handler setup blocks.
In reply to Re: INIT {$SIG{__DIE__} and Getopt::Long
by shmem
in thread INIT {$SIG{__DIE__} and Getopt::Long
by demichi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |