I have a subroutine getListenerName($porttobeChecked) This subroutine returns me the name of the listener if i pass a port. Eg:If $porttobechecked=6712 I want to return an array a[0]=TRUE and a1=http-listener-1(listener name) If port to be checked is 4516..I want to return an array a[0]=FALSE and a1=null How can i parse this output.Any help appreciated?name ip port ------------------------------------ http-listener-1 * 6712 http-listener-2 * 8709
In reply to Need help in parsing an input by sandeepda
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |