in reply to Dhcpclient module
This is better written as:exists($args{Server}) ? $self->serverid($args{Server}) : $self->{SERVE +R} = "0.0.0.0";
Not only is it more succinct, but it also observes the encapsulation that you've created with the serverid accessor.$self->serverid($args{Server} || "0.0.0.0");
Otherwise, where are you stuck?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Dhcpclient module
by drip (Beadle) on Mar 28, 2008 at 01:47 UTC | |
by pc88mxer (Vicar) on Mar 28, 2008 at 19:05 UTC | |
by drip (Beadle) on Mar 31, 2008 at 01:47 UTC |