Scott Alexander ([EMAIL PROTECTED]) said something to this effect on 
04/27/2001:
> Should this work in a startup.pl file
> 
> my $hostname = $ENV{"HOSTNAME"} ;
> 
> from the prompt I can write echo $HOSTNAME and get the correct 
> hostname of the server. 
> 
> But from within startup.pl I don't get it.
> 
> Scott

use Sys::Hostname;
$host = hostname;

(darren)

-- 
vi, vi, vi - the Editor of the Beast

Reply via email to