http://www.perlmonks.org?node_id=857621


in reply to Re: Getting error while crafting frame through Net::Frame module
in thread Getting error while crafting frame through Net::Frame module

I added this to my code, but the same result, so i think this object was created without any problem otherwise it would have died. But i am not sure why i am still getting that error.
  • Comment on Re^2: Getting error while crafting frame through Net::Frame module

Replies are listed 'Best First'.
Re^3: Getting error while crafting frame through Net::Frame module
by roboticus (Chancellor) on Aug 27, 2010 at 11:51 UTC

    sagarkha:

    I guess I should have been more explicit: You need to add error checking to your code. You keep calling methods on objects that may not have been successfully created. I gave you an example of one thing that may have been wrong, based on an error message. You need to look at other statements that could fail, and check their results.

    ...roboticus