Hello val here, I wanted to start with my first perl program but it doesn't work :-(
#!/usr/bin/perl
my $valid_ip = 10.10.10.10;
my $ip_container = $ENV{REMOTE_ADDR};
if ($ip_container == $valid_ip)
{
print "Valid ip";
}
else
{
print "Not a valid ip";
}
think i'm doing it all...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.