Re: May I know the perl version of following shellscript

2003-09-22 Thread John W. Krahn
Saifuddin Bohra/Hss wrote: > > Hi, Hello, > I am new to Perl. I have a follpwing shell script > > if [ -n "`netstat -na|grep LISTEN |grep 1099`" ]; > then > exit 0 > else > exit 1 > fi > > I need the perl script for the same job. > and how to use this in another perl prog

Re: May I know the perl version of following shellscript

2003-09-22 Thread Jeff Westman
--- Saifuddin_Bohra/[EMAIL PROTECTED] wrote: > > Hi, > I am new to Perl. I have a follpwing shell script > > if [ -n "`netstat -na|grep LISTEN |grep 1099`" ]; > then > exit 0 > else > exit 1 > fi > > I need the perl script for the same job. > and how to use this in another

May I know the perl version of following shellscript

2003-09-22 Thread Saifuddin_Bohra/HSS
Hi, I am new to Perl. I have a follpwing shell script if [ -n "`netstat -na|grep LISTEN |grep 1099`" ]; then exit 0 else exit 1 fi I need the perl script for the same job. and how to use this in another perl program Any pointer ?? saifuddin -- To unsubscribe, e-mail: