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 pointers in this regard will be highly appreciated.

--Prasanna




-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to