use POSIX qw(_exit); BEGIN { print STDERR "my error message\n"; _exit(-1) }
BEGIN { warn "my error message\n"; exit -1 }
In reply to Re: BEGIN and die(), an ugly combination
by ctilmes
in thread BEGIN and die(), an ugly combination
by samtregar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |