in reply to How to close a telnet connection when using strict

It's not the "strict" problem
seems that your $pro is undefined

  • Comment on Re: How to close a telnet connection when using strict