I don't see any error checking in there, so a method is likely failing and you're calling a method on an object that was never properly created, was destroyed, was damaged, etc. Based on the text of the error message, I'd add this line after $ip4 is created:
die "Can't connect to target!" unless defined $ip4";...roboticus
In reply to Re: Getting error while crafting frame through Net::Frame module
by roboticus
in thread Getting error while crafting frame through Net::Frame module
by sagarkha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |