Can someone help me..
I have a perl program that does some specific things, but in the first line before it takes any real action i want it to check for a certain IP and if that IP exists, exit the perl program and load an html file.
So bottom line is it would look like this in php but not sure how to do it in perl..
PHP version just for clarification purposes. I need it in PERL.
1. Check IP
2. If Ip matches header("Location: newhtmlpage.htm");
3. If Ip does not match continue to process the perl program.
I have a perl program that does some specific things, but in the first line before it takes any real action i want it to check for a certain IP and if that IP exists, exit the perl program and load an html file.
So bottom line is it would look like this in php but not sure how to do it in perl..
PHP version just for clarification purposes. I need it in PERL.
1. Check IP
2. If Ip matches header("Location: newhtmlpage.htm");
3. If Ip does not match continue to process the perl program.