Re: Perl and DHCP

2004-09-22 Thread Wiggins d Anconia
> Hi, > I have Perl program in which I have if condition as "if( -e $hostname) { > # do something} else { # do something else}" > I use Sys::Hostname::hostname() to get the host name. > If my Windows machine is DHCP enabled ,the if condition turns out be > false and vice versa for Static IP addre

Perl and DHCP

2004-09-22 Thread Prasanna Kothari
Hi, I have Perl program in which I have if condition as "if( -e $hostname) { # do something} else { # do something else}" I use Sys::Hostname::hostname() to get the host name. If my Windows machine is DHCP enabled ,the if condition turns out be false and vice versa for Static IP address. Any poi