title: Is there a way to get screen to return a session id or pid?
body: <p>Is there a way to get screen to echo back the session id when it creates a new window?</p>
  
  <p>I am working on script in perl and I need screen to return the session id or the PID to me so I record it in an array or a hash.</p>