Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ValerieLeeuwen

    Please help, my first Program not working :-(

    @ Eve: Thanks i've cleaned up and fixed the code.. #!/usr/bin/perl $good_ip = $ENV{REMOTE_ADDR}; if ($good_ip eq "10.10.10.10") { print "Content-type: text/html\n\n"; print <<ENDHTML; <HTML> <HEAD> <TITLE>Perl Program 1</TITLE> </HEAD> <BODY> <H2>Valid IP</H2> </BODY> </HTML> ENDHTML else...
  2. ValerieLeeuwen

    Please help, my first Program not working :-(

    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...

Part and Inventory Search

Back
Top