I have this simple piece of code
This gives the ouptut in web page
A =
B =
C =
D =
192.168.0.2
Why aren't the variables being set?
Is there another line with an array I need to use, with an @ARRAY?
Thanks for any help you can give.
------------------------------------------
Somethings come from nothing, nothing seems to come from somethings - SFA - Guerilla
roycrom
Code:
#!/usr/bin/perl -W
print "Content-type: text/plain\n\n";
my ($a,$b,$c,$d) = split(/./, $ENV{'REMOTE_ADDR'});
print "A is $a\nB is $b\nC is $c\nB is $d\n";
print "$ENV{'REMOTE_ADDR'}";
This gives the ouptut in web page
A =
B =
C =
D =
192.168.0.2
Why aren't the variables being set?
Is there another line with an array I need to use, with an @ARRAY?
Thanks for any help you can give.
------------------------------------------
Somethings come from nothing, nothing seems to come from somethings - SFA - Guerilla
roycrom