Re: Environment variables in startup.pl

2001-04-30 Thread darren chamberlain
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 g

Re: Environment variables in startup.pl

2001-04-28 Thread G.W. Haywood
Hi there, On Fri, 27 Apr 2001, Philip Mak wrote: > On Fri, 27 Apr 2001, Scott Alexander wrote: > > > 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 s

Re: Environment variables in startup.pl

2001-04-27 Thread Philip Mak
On Fri, 27 Apr 2001, Scott Alexander wrote: > 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. The reason "echo $HOSTNAME" works

Environment variables in startup.pl

2001-04-27 Thread Scott Alexander
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