Yes it gives some UDP socket connection couldnt created.. type of error. I dont have that in pc here. I saw in my school this morning. But error was linke some .. UDP socket cudnt create.. So how to handle it . I t gives this error because there is no internet access and even then i am trying to get IP , so no connection i guess thats why..
But how i can handle it ? Because if i print it like this :
print "adress is : 'Net::Address::IP::Local'->public";
Then it just print:
adress is :
Now it even do not print 0 or null so that i could habdle it like this if($adress=null) {do this} How to handle ?