P is for Practical | |
PerlMonks |
Re^2: Dhcpclient moduleby drip (Beadle) |
on Mar 31, 2008 at 01:50 UTC ( [id://677430]=note: print w/replies, xml ) | Need Help?? |
i was not quite aware of the indentation.i was just writing the code and was trying to do it the way i can read it..(since it is not done yet, but it works though).. i'll just have to change the the indentation later..thanks for your opinion ..i'll try applying your suggestions to the code.. btw, on the sub new i set $self->{INTERFACE},$self->{MACADDRESS} etc. to get default values if there are no arguments being passed ...that is why i used $self->{MACADDRESS} $self->{INTERFACE} etc (incase the user does not pass any argument)..maybe i'm wrong..kindly check the sub new again please...
In Section
Seekers of Perl Wisdom
|
|