in reply to Re^3: Dhcpclient module
in thread Dhcpclient module

yeah, the fact that it works has nothing to do with indentation
what i meant on my previous post was, the scipt works(though, obviously i messed up some things) and i was not referring to indentation..

sorry to be a pain in the ass...thank you very much for your advice
i'll read more on acessors..it seems i missed some part of it..hmm..

Replies are listed 'Best First'.
Re^5: Dhcpclient module
by tachyon-II (Chaplain) on Apr 02, 2008 at 04:54 UTC

    You seem to have missed the significance of the debugging example. In both cases there is a spelling error. In the first case perl will die with an error. In the second case it will silently create a new hash element with the wrong name. You will go over the code many times trying to see why $obj->{INTERFACE} is NULL.....

    Cheers

    tachyon