• simple way: $SIG{HUP} = 'IGNORE';
  • there are several other ways to accomplish the same thing:
    • use setsid