>> my($user) = @_; >> my($host) = odch::get_hostname($user); >> my($ip) = odch::get_ip($user); >> $iplog = ">>/var/log/hubiplog"; >> open(PLIK, $iplog); >> print PLIK $ip; >> print PLIK "\n"; >> close PLIK;
Try the following.. print PLIK "$user -- $host -- $ip\n"; This is just a tip for debugging. I can't help you beyond this. Sorry. SB -- LUG@IITD - http://lug-iitd.org/Footer
