in reply to Re^2: Signal handlers and scoped variables, or Nested subs?
in thread Signal handlers and scoped variables, or Nested subs?

IO::Select is the easiest way to use select.