in reply to Detach from terminal

Another method is to simply ignore the HUP signals which get raised by a dying controlling terminal.
$ nohup myscript.pl &

--
[ e d @ h a l l e y . c c ]