in reply to Re^2: Merge 2 lines in 1 die statementin thread Die statement with text & formatting of the user
Either use ikegami's hint of setting $!=0, or do the sensible thing and use exit.