in reply to Getting error while crafting frame through Net::Frame module
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Getting error while crafting frame through Net::Frame module
by sagarkha (Acolyte) on Aug 27, 2010 at 06:58 UTC | |
by roboticus (Chancellor) on Aug 27, 2010 at 11:51 UTC |