in reply to ForEach Command struggle..
Where is $ip set? Please run your script with use strict; in effect and with warnings (-w or use warnings;) enabled. You will probably catch most of your problems by doing that. Also, what are you trying to do with these:# You assign values to pluralized versions of variables: ($ips,$times,$locationold,$titles)=split('×',$lines); # Then you *use* singular versions of those variables: $line="$ip×$time×$place×$title";
Are those two references written correctly? Hope this helps.${$location}{online} ${$loc}{online}
|
|---|