http://qs321.pair.com?node_id=603873


in reply to Re^2: open a browser from the command line, wait a few seconds, and shut it. (ie, translate forking from bash to perl)
in thread open a browser from the command line, wait a few seconds, and shut it. (ie, translate forking from bash to perl)

Flip the order of the arguments to kill, kill( TERM => $pid ) (/msg'd ikegami about this as well).